I need a meta-function that for given complete class type returns its template (e.g. f<foo<bar>>::type or f<foo<baz>>::type results in foo).
Or it may return true on f<foo<bar>, foo<baz>>::value and false on f<foo1<bar>, foo2<bar>>::value
Aucun commentaire:
Enregistrer un commentaire