Re: [Boost-users] Interesting article on stack-based TMP
On 23-10-2012 15:05, Larry Evans wrote:
On 10/22/12 07:26, Giovanni Piero Deretta wrote: [snip]
Now, to make this thread on-topic: is anybody working on a C++11 rewrite of Boost.MPL?
Anyone attempting such a rewrite and planning to use the variadic template features might want to start from:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/boost/mpl/
However, using variadic templates may cause a slowdown in the compile times. IIRC, a variadic template version of proto was developed but was abandoned in favor of using:
http://www.boost.org/doc/libs/1_51_0/libs/preprocessor/doc/index.html
because of large compile times.
Hm. This is really sad if variadic templates can't be used for the thing they were created for. Is this an inherent problem for large-scale use of variadic templates? -Thorsten
On 10/23/12 09:27, Thorsten Ottosen wrote:
On 23-10-2012 15:05, Larry Evans wrote:
On 10/22/12 07:26, Giovanni Piero Deretta wrote: [snip]
Now, to make this thread on-topic: is anybody working on a C++11 rewrite of Boost.MPL?
Anyone attempting such a rewrite and planning to use the variadic template features might want to start from:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/boost/mpl/
However, using variadic templates may cause a slowdown in the compile times. IIRC, a variadic template version of proto was developed but was abandoned in favor of using:
http://www.boost.org/doc/libs/1_51_0/libs/preprocessor/doc/index.html
because of large compile times.
Hm.
This is really sad if variadic templates can't be used for the thing they were created for. Is this an inherent problem for large-scale use of variadic templates?
-Thorsten
In another post, Eric Niebler reported that Walter Bright seems to think there's an inherent problem with the way c++ does templates. I recently asked Walter for more details here: http://www.digitalmars.com/d/archives/c++/why_are_c_template_instantiations_... -Larry
participants (2)
-
Larry Evans
-
Thorsten Ottosen