I want to use a type that was defined inside a template class. How can I do it?
template < typename A, typename B>
struct internal {
const static std::string value;
typedef B type;
};
template < typename A > using external = struct internal<A, int>;
external::type object;
Aucun commentaire:
Enregistrer un commentaire