> I think I've found a bug in g++. Thanks for your bug report. This is a known bug, and it is hard to fix. You can work-around this by writing c.template is<C>(); Regards, Martin