Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-03-06 19:47:20


Jason Turner <lefticus <at>> writes:

> <snip>
> I agree, in principal, and it was my original intention. However, a
> design goal was to make sure that any existing class could work with
> active_object and your above example does not allow for a specific
> constructor to be called. I guess, however, now that I think about it,
> if the user needs to call the not-default constructor he can store a
> pointer.

You can either have N template constructors or use

> <snip>
> I also considered something along the lines of:
> ao->(&TestClass::getInt);
> What is your thought on that?

Illegal in C++.

In Christ,
Steven Watanabe

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