|
Boost : |
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2005-02-07 01:11:30
https://sourceforge.net/project/shownotes.php?release_id=303009
This package has been tested on gcc 3.4 and linux-intel 8.0.
Two kinds of overload sets are currently implemented: natural sets and range
sets, that is, overloads::set<X> and overloads::set<X, mpl::range_c<int,1,3>
> where X is (I call its concept OverloadsHolder, feel free to suggest
better name):
struct X
{
void operator()(overloads::id<1>, int, char) const; // void(int,char)
bool operator()(overloads::id<2>, long) const; // bool(long)
};
mpl::end for natural set is not constant time but fast.
The following MPL algorithms work:
- has_key
- order
- find
- size
- empty
- equal
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk