Boost logo

Boost :

Subject: Re: [boost] [locale] Review results for Boost.Locale library
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-04-30 11:15:11


On 29/04/2011 20:37, John Bytheway wrote:
> On 27/04/11 23:11, Mathias Gaunard wrote:
> <snip>
>> If that runtime conversion is a concern, it's also possible to do that
>> at compile time, at least with C++0x (syntax is ugly in C++03).
>
> Do you imagine that user-defined literals allow this?

No.

> If there's some other way to get compile-time access to characters more
> neatly than in C++03, then please share it; I would like to know!

In C++0x, "some_literal"[some_constant_integer_expression] is a constant
expression.


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