Boost logo

Boost :

Subject: Re: [boost] Reimplementation of the MPL for C++11
From: Eric Niebler (eniebler_at_[hidden])
Date: 2013-10-18 15:45:29


On 10/18/2013 11:07 AM, Louis Dionne wrote:
> Hi,
>
> I am currently working on a reimplementation of the MPL for C++11. Although
> the library is not complete yet, I would like to gauge interest for the
> project from the Boost community.
>
> I wanted to wait until I have resolved some core issues before posting here,
> but reading the [modularization] thread made it unbearable to wait any
> longer :-). The library is available on GitHub: github.com/ldionne/mpl11.
>
> If some people happen to be interested by the project and would like to get
> involved, please get in touch with me.

Disclaimer: I haven't looked. But knowing the forward-only nature of
parameter packs, I wonder how you can implement a random-access sequence
like vector without (a) instantiating O(N) templates, like tuple, or (b)
using the preprocessor and living with arbitrary limits.

I fear that the mpl simply cannot be implemented with variadics without
radically changing the compile-time complexity of things.

-- 
Eric Niebler
Boost.org
http://www.boost.org

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