From: Max Khesin (MKhesin_at_[hidden])
Date: 2004-05-18 15:48:58
what do you think of Andrei's work on policy-based strings:
- does it do what you want (or leave flexibility to do what you want)
- if so why not just use it
- if not what doesn't it do
> -----Original Message-----
> From: Reece Dunn [mailto:msclrhd_at_[hidden]]
> Sent: Tuesday, May 18, 2004 2:30 PM
> To: boost_at_[hidden]
> Subject: [boost] basic_string interface generator
> Is there any interest in the ability to generate a
> basic_string compliant
> interface from a base set of functions in a similar way that
> the iterator
> adaptors work?
> I am currently developing a fixed-capacity string class that
> complies to the
> basic_string interface and have at least 3 variants:
> boost::fixed_string< n, CharT = char, StringPolicy =
> char > >
> where fixed_string derives from boost::char_string or
> depending on CharT. It may be useful to implement these like this:
> struct char_string: boost::basic_string_impl< char_string >
> // ...
> void myfn( char_string & s )
> // manipulate s like a basic_string or apply C-string functions
> So the question is this: are other people interested in this
> concept, or is
> it better placed as an implementation detail?
> Want to block unwanted pop-ups? Download the free MSN Toolbar now!
> Unsubscribe & other changes:
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk