Boost logo

Boost Users :

Subject: Re: [Boost-users] [mpl]... is there an mpl::string
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2009-04-07 15:54:20


On Tue, Apr 7, 2009 at 12:21 PM, Eric Niebler <eric_at_[hidden]> wrote:
> multi-character literals give a nicer compile-time string interface.
> // With mpl::string
> mpl::string<'hell','o wo','rld'>

Hi Eric,

I've been lurking on this thread for a while, and I'm intrigued by
"multi-character literals". Beside being new to me, a Google search
yields little information on them, beside the fact that "The value of
a narrow or wide character literal containing more than one character
or escape sequence is implementation-defined." Isn't this a problem
for mpl::string? Thanks, --DD

[1] http://publib.boulder.ibm.com/infocenter/lnxpcomp/v7v91/index.jsp?topic=/com.ibm.vacpp7l.doc/language/ref/clrc02ccon.htm

[2] http://bytes.com/groups/c/739845-multi-character-constant


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net