by Ulrich Eckhardt <eckhardt@[EMAIL PROTECTED]
>
Apr 17, 2008 at 03:59 AM
jeremit0 wrote:
> I have a class similar to
>
> enum Method { a, b };
>
> class A{
> A();
> void MyMethod(int i, Method m = a){
> ...
> }
> }
I guess the problem is in the 'similar to', because this code:
enum method { a, b };
void function( method m = a);
...actually compiles fine. Provide the real code, stripped down to the
very
minimum.
Uli
--
Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]