Template detection
Alexandru Ermicioi via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Sep 13 01:26:53 PDT 2015
Hello,
Given:
class SomeClass {
public {
void someSimpleMethod() {}
template setOfTemplatedMethods(Type) {
void templatedMethodOne() {}
void templatedMethodTwo() {}
}
}
}
Is there a way to detect at compile time if a member of
class/struct is a template? (in the example above, if
setOfTemplatedMethods is a template).
More information about the Digitalmars-d-learn
mailing list