[typeof] template template parameters, etc.

Hi all, The typeof submission has been updated to include the latest features, most notably support for *template template parameters*. Please take it in the in the Boost sandbox file vault, http://boost-sandbox.sourceforge.net/vault/ (typeof.zip). (Most credit for the template template parameters support goes to Peder). Among other additions are support for enum template parameters, and reused template parameters, such as in: template<class T, T n> class x; Also the REGISTER_TEMPLATE_X macro has been eliminated. Instead, the REGISTER_TEMPLATE macro has been "overloaded" to cover all the cases of template registration. Please see the documentation for more details. Regards, Arkadiy

On Thu, 24 Feb 2005 08:47:11 -0000, Andy Little <andy@servocomm.freeserve.co.uk> wrote:
"Arkadiy Vertleyb" <vertleyb@hotmail.com> wrote in message news:cvjetp$et9$1@sea.gmane.org...
Hi all,
The typeof submission has been updated to include the latest features, most notably support for *template template parameters*.
Cool ... :-)
regards Andy Little
I have added two additional non-standard extensions of typeof-emulation to the file vault: typeof_iterator.zip - Enables automatic registration of iterators for stl-containers. Support for dinkumware (with the VC compiler) and GCC. e.g. #include <boost/typeof/std/list.hpp> will register list<...>::iterator and list<...>::const_iterator for use in typeof emulation. typeof_ctc.zip - Very non-standard replacement for mpl::vector. Uses a compile time constant vector to increase the performance for typeof emulation on GCC from ~ 6 minutes to ~17 seconds. (measurements taken from lib/typeof/test/main.cpp) Replace typeof.hpp with the one in typeof_ctc.zip and define BOOST_TYPEOF_CTC before including typeof.hpp. Regards, Peder
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
Andy Little
-
Arkadiy Vertleyb
-
Peder Holt