|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2008-03-24 16:12:39
Emil Dotchevski wrote:
>> foo< mpl::string<'hell','o wo','rld!'>::c_str > f;
>
> Isn't 'hell' undefined behavior? :)
Multicharacter literals like 'hell' have an implementation-defined
value. It should be possible to make this interface work, but that the
implementation may be different for different compilers.
> Seriously though, aren't we limited to ASCII in ''?
Yes. So?
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk