Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <vector>
- #include <string>
- using namespace std;
- class MyClass1{
- public:
- typedef int id_type;
- id_type id;
- };
- class MyClass2{
- public:
- typedef string id_type;
- id_type id;
- };
- template <typename T> class MyClassManager{
- typename T::id_type id;
- T actual_data;
- };
- main(){
- }
Advertisement
Add Comment
Please, Sign In to add comment