Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Dataclassに local class template があると仮定するとElement<i>、次のコードにはコンパイル エラーがあります。コードは単純に見えますが、何が問題なのですか?
Data
Element<i>
template<unsigned i, class Data> class A { public: typedef typename Data::Element<i> ElementTy; // compilation error: token error };