Boost logo

Boost :

From: Oleg Abrosimov (beholder_at_[hidden])
Date: 2006-06-26 08:52:02

I have one more need about tuples.
I need two functions: one for general case and one for tuples returned
by make_tuple function. It is equal to the following functionality
provided by boost::variant library:

"// general cases
template <typename T> void some_func(const T &);
template <typename T> class some_class;

// function template overload
template <BOOST_VARIANT_ENUM_PARAMS(typename T)>
void some_func(const boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> &);

// explicit partial specialization
template <BOOST_VARIANT_ENUM_PARAMS(typename T)>
class some_class< boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> >;"

Oleg Abrosimov.

Boost list run by bdawes at, gregod at, cpdaniel at, john at