C++ Standard Library
  1. C++ Standard Library
  2. STDCXX-1000

[LWG #755] add shrink_to_fit() to std::string and std::vector

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: 21. Strings, 23. Containers
    • Labels:
      None
    • Severity:
      Usability

      Description

      Library Working Group issue 755 adds the new member function void shrink_to_fit() to class templates std::basic_string and std::vector. This change has been incorporated into the latest Working Paper and will be in C++ 0x. It's safe to implement in stdcxx 4.3.0.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Martin Sebor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 2h
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development