c++ Programming Glossary: my_allocator
Can one leverage std::basic_string to implement a string having a length limitation? http://stackoverflow.com/questions/1591591/can-one-leverage-stdbasic-string-to-implement-a-string-having-a-length-limitat Perhaps something like this template class T class my_allocator public typedef T value_type typedef std size_t size_type typedef.. r const_pointer address const_reference r const return r my_allocator throw template class U my_allocator const my_allocator U throw.. r const return r my_allocator throw template class U my_allocator const my_allocator U throw ~my_allocator throw pointer allocate..
|