G
Gustavo L. Fabro
Greetings!
Going directly to the point:
myclass.h:
//--------------------------------------
#pragma managed
//Forward declaration
class AnotherClass;
#pragma unmanaged
class MyClass
{
public:
void func1(AnotherClass* ptr);
}
Will this '#pragma managed' before 'class AnotherClass' have any effect at
all on my native class? I know the forwad declaration only puts the symbol's
name under the symbols table, but I was wondering if, being defined under
'managed' setting, this symbol would have any thunking layers or anything
like that that would make it's access slower.
Thanks,
Fabro
Going directly to the point:
myclass.h:
//--------------------------------------
#pragma managed
//Forward declaration
class AnotherClass;
#pragma unmanaged
class MyClass
{
public:
void func1(AnotherClass* ptr);
}
Will this '#pragma managed' before 'class AnotherClass' have any effect at
all on my native class? I know the forwad declaration only puts the symbol's
name under the symbols table, but I was wondering if, being defined under
'managed' setting, this symbol would have any thunking layers or anything
like that that would make it's access slower.
Thanks,
Fabro