You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
basic_string is a contiguous container, so subject to the specification for containers and reversible containers.
The container and reversible container requirements provide a more specific specification for everything in [string.iteartors], such as complexity constraints. All the other containers rely on the requirements for their documentation, and so should basic_string, otherwise it might be (foolishly) argued that by providing an alternate specification, there are no complexity requirements on these operations!
There are several more string member specifications that might be usefully removed, but there are many that do have reasons for their separate spec, so I will follow up further de-specifying string only if this issue is accepted.
The text was updated successfully, but these errors were encountered:
basic_string
is a contiguous container, so subject to the specification for containers and reversible containers.The container and reversible container requirements provide a more specific specification for everything in [string.iteartors], such as complexity constraints. All the other containers rely on the requirements for their documentation, and so should
basic_string
, otherwise it might be (foolishly) argued that by providing an alternate specification, there are no complexity requirements on these operations!There are several more string member specifications that might be usefully removed, but there are many that do have reasons for their separate spec, so I will follow up further de-specifying string only if this issue is accepted.
The text was updated successfully, but these errors were encountered: