The following example seems to instance the templated function incorrectly:
This is a bug. Please file it in bugzilla
with the errors:
test.cpp:31: `float operator*(float, typeB) [with typeB = float]' must have an argument of class or enumerated type test.cpp:22: `float operator*(typeA, float) [with typeA = float]' must have an argument of class or enumerated type
nathan
-- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC The voices in my head said this was stupid too nathan@xxxxxxxxxxxxxxxx :: http://www.planetfall.pwp.blueyonder.co.uk