Re: [boost] Report from Berlin C++ Standards Committee meeting

David Abrahams wrote:
"Reece Dunn" <msclrhd@hotmail.com> writes:
Maxim Yegorushkin wrote:
On 4/11/06, Reece Dunn <msclrhd@hotmail.com> wrote:
I don't like the idea of the user having to convert whichever string he happens to use to std::basic_string just to do the conversion.
whereas, to be more consistent with the rest of the standard library, you would have something like:
T string_to<T>( const std::string & ) T wstring_to<T>( const std::wstring & ) T basic_string_to<T>( const std::basic_string< CharT, CharTraits, Allocator > & )
I'm not sure consistency is a virtue in this case.
You are right! You just need the generic templatized version that takes a basic_string, as well as overloads for C-style narrow and wide strings. - Reece _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Am Dienstag, den 11.04.2006, 13:54 +0100 schrieb Reece Dunn:
David Abrahams wrote:
"Reece Dunn" <msclrhd@hotmail.com> writes:
Maxim Yegorushkin wrote:
On 4/11/06, Reece Dunn <msclrhd@hotmail.com> wrote: T string_to<T>( const std::string & ) T wstring_to<T>( const std::wstring & ) T basic_string_to<T>( const std::basic_string< CharT, CharTraits, Allocator > & )
I'm not sure consistency is a virtue in this case.
You are right! You just need the generic templatized version that takes a basic_string, as well as overloads for C-style narrow and wide strings.
And for ranges I would like to see. Very much that is. Very very much :-).
- Reece
- Aristid
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Aristid Breitkreuz
-
Reece Dunn