On Saturday, February 1, 2003, at 04:54 AM, Jonathan Wang wrote:
Sure. It is just a demo. I was exploring putting ntp into the hash containers. Here it is:Howard Hinnant <[EMAIL PROTECTED]> writes:I've also looked at ntp implementation similar to this (but used LokiCould you please tell me where to find the implmentation using Loki? I'm rather interested in it.
type lists), and agree that this is a neat way to go. Essentially you
just stick the defaults onto the end of the type list. Then if the
user specifies anything, either by a default tag, a named parameter, or
a positional parameter, you prepend it to the type list. Then the
extraction routine simply searches the type list for the first
appropriate parameter.
http://home.twcny.rr.com/hinnant/cpp_extensions/hash_ntp_demo.cpp
-Howard
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost