Boost logo

Boost :

Subject: Re: [boost] parsing strings at compile-time
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-06-03 13:06:07

On 03/06/2011 17:03, Andrzej Krzemienski wrote:
> Hi Everyone,
> This is not directly related to any of the boost libraries, but I thought
> people from this list may find it interesting or useful. The below are links
> to three posts where I tried to describe how we can parse strings at compile
> time and convert them to data structures, still at compile-time in C++0x
> with generalized constant expressions. I do not have enough time to write a
> library myself, but perhaps someone would be able to use such techniques for
> their library. I think Regular Expressions library would benefit from this
> technique if the compiler would be able to check the correctness of a regex.

I have personally implemented conversion between Unicode encodings at
compile-time (which also works in C++03), but I never really found any
compelling use for it.

Boost list run by bdawes at, gregod at, cpdaniel at, john at