Boost logo

Boost :

From: Paul Hollingsworth (boost_at_[hidden])
Date: 2001-11-20 10:34:52


> So it's a tradeoff issue. Any solution that fixes point 3 fails on
point 1,
> point 2, or (most often) both 1 and 2.

You guys might be interested to see how the Comet library
(http://www.lambdasoft.dk/comet) handles this problem:
It does use macros to help in implementing the library , but they are
not part of the "interface" to the library.

To declare a type list in Comet you write something like this:

comet::make_list<int, float, double, std::string>::result

Here's the definition of make_list:
http://www.lambdasoft.dk/comet/doc/typelist_8h-source.html

What's wrong with this approach? Is it failing on point #2?

Paul Hollingsworth
http://PaulHollingsworth.com


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