Skip to content
Snippets Groups Projects
Commit c5bf6829 authored by Tüske's avatar Tüske
Browse files

tesztelni kell a reszleges specializaciot

parent a7e376af
Branches master
No related tags found
No related merge requests found
......@@ -22,16 +22,16 @@ public:
friend container<T...> list(T&...args);
template<int I>
typename std::enable_if<I==1>::type readhelper(std::vector<std::string>& s)
/* typename std::enable_if<I!=1>::type */ void readhelper(std::vector<std::string>& s)
{
readhelper<I-1>(s);
std::istringstream is{s[I-1]};
is>>std::get<I-1>(tu);
}
template<int I>
typename std::enable_if<I!=1>::type readhelper(std::vector<std::string>& s)
/*typename std::enable_if<I==1>::type */void readhelper<1>(std::vector<std::string>& s)
{
readhelper<I-1>(s);
std::istringstream is{s[I-1]};
is>>std::get<I-1>(tu);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment