?
=?iso-8859-1?Q?Schwarzbauer_G=FCnter?=
Hello,
Does the C++ standard allow default parameters when defining a typedef for a
function type, e.g.
typedef void (*TYPE_Report)(const char* message, const char* details = 0);
This was accepted by MS Visual C++ 6.0, but is rejected in Visual Studio
..NET 2003.
I assume that this change might be because Visual Studio .NET is more C++
standard compliant than previous versions were.
Is this correct?
Is there any way to use default parameters for function types?
thanks
Günter
Does the C++ standard allow default parameters when defining a typedef for a
function type, e.g.
typedef void (*TYPE_Report)(const char* message, const char* details = 0);
This was accepted by MS Visual C++ 6.0, but is rejected in Visual Studio
..NET 2003.
I assume that this change might be because Visual Studio .NET is more C++
standard compliant than previous versions were.
Is this correct?
Is there any way to use default parameters for function types?
thanks
Günter