Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-11-04 18:31:52

"Michael Glassford" <glassfordm_at_[hidden]> writes:

> It has been suggested to me that it would be better (for other
> reasons) to mark individual member functions as exported rather than
> marking whole classes. Would that also help in this situation? I
> haven't looked closely yet, but if the individual member functions of
> the thread classes are exported then this warning may no longer be
> generated.
> Would there be any problems with changing to this approach?

Yes. It breaks some versions of GCC, which only work right if whole
classes are marked. To get some inline functions in the same class,
factor the class into base and derived parts, where the base class is

Dave Abrahams
Boost Consulting

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