mirror of
https://github.com/boostorg/static_string.git
synced 2026-07-21 13:33:30 +00:00
bf20b809ec
This returns max_size() - size(), i.e. the number of characters that can still be inserted before the string reaches its capacity. Intended as a shorthand for capacity-capped writes in combination with the pos/count-taking overloads of append, assign, and insert: str.append(sv, 0, str.available()); Addresses the ergonomic complaint in issue #81 without expanding the overload set. Closes issue #81.