S
Sam
Hi,
I need to initialize a static data member by calling a method of another
static member. Like:
class A
{
public:
static int TYPE;
private
static Type _s_type;
};
int A::TYPE = _s_type.ID();
Type A::_s_type;
I compiled the code with my compiler. But I'm not sure whether it complies
with the standard.
Thanks.
Sam
I need to initialize a static data member by calling a method of another
static member. Like:
class A
{
public:
static int TYPE;
private
static Type _s_type;
};
int A::TYPE = _s_type.ID();
Type A::_s_type;
I compiled the code with my compiler. But I'm not sure whether it complies
with the standard.
Thanks.
Sam