Boost logo

Boost :

Subject: Re: [boost] [MPL][vector] Is there interest in mpl::vector using variadic templates?
From: Chris Glover (c.d.glover_at_[hidden])
Date: 2017-03-01 19:03:30

> I'm very interested in patching MPL to be able to use variadic templates.
> There are many C++ libraries and code that use MPL. Those libraries
> can not switch from MPL to Metal or Hana because:
> * they have to be usable in C++98/C++03 and C++11
> * they have a huge code base that can not be simply migrated to new library
> * they depend on third party libraries that use MPL and need the
> ability to interact with those libraries
> Moreover, making MPL variadic will not just speed up compilation, but also
> will:
> * reduce executable size and improve startup times if MPL structure is
> part of an exported entity
> * improve runtime speed if MPL structure is part of an entity that is
> used in operations involving typeid()
> So please, continue the work and make a pull request.
> --
> Best regards,
> Antony Polukhin

For what it's worth, I very much agree with all of the above.

-- chris

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