> problem.cxx: In function `void func(const Ptr<int> &)': > problem.cxx:18: static_cast from `const Ptr<int>' to `bool' Thanks for your bug report. The mainline compiler (2.96 20000326 (experimental)) compiles this without problems, so the bug appears to be fixed. Regards, Martin