Boost logo

Boost :

From: Geurt Vos (G.Vos_at_[hidden])
Date: 2001-05-07 03:40:45

To whom this may concern (or just 'Hi'),

When the to undeleteble* conversion feature of 'function'
is used with GCC 2.95.2, it won't work in the following

void func(const boost::function<...> &f)
    if (f) {

It is solved when either 'f' is passed by value or when
'f' is explicitly compared to 0 (f != 0 in this case).
I suspect it is a compiler problem, am I right?

Anyone, does it work for a newer version of GCC?


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