
13 May
2005
13 May
'05
9:13 a.m.
Wouldn't the flex_string be even more flexible if it accepted ranges in constructor, assignment etc. (same for fixed_string, const_string of course) Then you could easily switch between different string types without the .c_str () template <class RangeT> flex_string(const RangeT& input, const A& a = A()) : Storage(a) { assign(begin(input), end(input)); }