Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2006-07-05 09:36:33


Pavel Vozenilek wrote:
> Feature request: would it be possible to parametrize
> the internal string type (currently hardcoded to std::basic_string)?
> For example one may like to use flex_string.
>
> template<class char_type, typename Str_t = std::basic_string<char_type> >
> class basic_super_string : public Str_t
> ....

I suppose so. The downside is that will be another complication to explain in
the docs, less clarity in error messages, etc. But on balance, it seems like
a good idea. On the todo list.

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk