TR2 and Boost fixed_string

24 Apr
2005
24 Apr
'05
10:45 p.m.
With regards to TR2 and Boost, I would like to see a string class that allows a user specified length. For instance boost::fixed_string<100> fs; // synonymn for boost::fixed_basic_string<char, 100> Whether the rest of the class was monolithic like std::string or broken out as proposed by Herb Sutter, I wouldn't care. I often come across uses for this where I don't want to dynamically allocate memory, but I also want the functionality of the string class. Tanton
7356
Age (days ago)
7356
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tanton Gibbs