Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2003-02-01 10:33:41


On Saturday, February 1, 2003, at 04:54 AM, Jonathan Wang wrote:

> Howard Hinnant <hinnant_at_[hidden]> writes:
>
>> I've also looked at ntp implementation similar to this (but used Loki
>> 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.
>
> Could you please tell me where to find the implmentation using Loki?
> I'm rather interested in it.

Sure. It is just a demo. I was exploring putting ntp into the hash
containers. Here it is:

http://home.twcny.rr.com/hinnant/cpp_extensions/hash_ntp_demo.cpp

-Howard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk