"Bruce Trask"
Hello,
I was investigating ways to implement Named Template Parameters. I ran into this post from the archives.
http://lists.boost.org/MailArchives/boost/msg29429.php
1. Is the ntp namespace around anymore or is it now spelled named_template_params.hpp in boost/detail?
2. Is there a simple example of using the facilities in named_template_params.hpp?
3. Should I just go with the technique provided by Vandevoorde and Josuttis in Chapter 16 of C++ Template: The Complete Guide? Or is named_template_params.hpp that technique and I am just not seeing it?
Bruce, I'm away from the net at the moment and can't examine that link. However, Daniel Wallin and I are trying to finalize our recently-accepted named (function) parameters library for inclusion into Boost, and we're trying to generalize it so it will just be called the Boost Parameter library. The first generalization is support for unnamed function parameters (these are positionless and identifiable by type), but we also plan to add named template parameters. We think we can reuse a great deal of our existing code to support that. -Dave -- Dave Abrahams Boost Consulting www.boost-consulting.com