Z
Zoran Stipanicev
Hi!
I have a code that looks some thing like this
void function()
{
struct st1
{
template<...>
struct st2
{
static void func2(){...}
}
}
}
I'm using VC++ 2003 and I get the error some thing like:
You can't have template in structure defined in function
Does anyone know if this defined in standard or VC++ 2003 is not fully
supporting standard in this case.
Thx!
P.S. I need that so that objects defined in function would be in global
scope of structure, and structure is actually body of static for loop
I have a code that looks some thing like this
void function()
{
struct st1
{
template<...>
struct st2
{
static void func2(){...}
}
}
}
I'm using VC++ 2003 and I get the error some thing like:
You can't have template in structure defined in function
Does anyone know if this defined in standard or VC++ 2003 is not fully
supporting standard in this case.
Thx!
P.S. I need that so that objects defined in function would be in global
scope of structure, and structure is actually body of static for loop