3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 29 Dec 2001 <nathan@codesourcery.com>
6 // PR 4361. Template conversion operators were not overloaded.
12 operator float () {return 2;}
30 r = p.operator int ();
33 r = static_cast <int> (p);