Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <char... Args>
- class Graph{};
- std::tuple<decltype(Args)...> t(Args...);
- for(size_t i =0;i<sizeof...(Args);++i)
- Map.insert({0,std::get<i>(t)});
- Map.insert({0,std::get<0>(t)});
- Map.insert({1,std::get<1>(t)});
- Map.insert({2,std::get<2>(t)});
Add Comment
Please, Sign In to add comment