Boost logo

Boost :

Subject: Re: [boost] Requesting a review of Metaparse
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2012-01-30 16:37:21


2012/1/30 Mathias Gaunard <mathias.gaunard_at_[hidden]>

> On 01/30/2012 08:22 AM, Abel Sinkovics wrote:
>
>> I can't see how one could do the following using
>> constexpr:
>>
>> [...]
>>
>> - create types as the result of parsing
>>
>
> You'd have to return objects, but then you can call decltype on them and
> get types.

The type of the object you return can't depend on the content of the string.

Roman Perepelitsa.


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