Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2006-07-27 16:36:08


    Is there any interest in a library for type erasure? My basic
idea is to define each operation separately and use a sequence
of them. As a simple example:

void f() {
    erasure<boost::mpl::vector<ostreamable, incrementable> > object(0);
    std::cout << object; //prints 1

In Christ,
Steven Watanabe

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