How can we help you today? How can we help you today?

do you know the modopt and modreq translation please

why this code is translate like this ?

source:
class ClassA;
template<typename _Type> class ClassTempA;

public interface class Test : BaseFunc {
public:
    ClassTempA<int>& SomeFunc2(ClassA inst) = 0;
};
translate into:
unsafe ClassTempA<int>* modopt(IsImplicitlyDereferenced) SomeFunc2(ClassA inst);

My Search about that (but no reel response):
http://stackoverflow.com/questions/4080 ... reflection

but here he talk about how get this value, like this
class ClassA;
template<typename _Type> class ClassTempA;

public interface class Test : BaseFunc {
public:
    ClassTempA<int>& SomeFunc2(ClassA inst) = 0;
};

array<Type^>^ GetModifiers()
{
    MethodInfo^ SomeFunc2 = Test::typeid->GetMethod("SomeFunc2");
    return method->ReturnParameter->GetOptionalCustomModifiers();
}

somme one to help me ,

thanks
seb
0

Comments

1 comment

Add comment

Please sign in to leave a comment.