Add default constructor to class Tuple<>, fixes issue #1643

This commit is contained in:
Tobias Markus 2014-10-27 23:12:07 +01:00
parent 32c5d79e26
commit 1acfc4a878

View File

@ -8,7 +8,12 @@ namespace STK {
template<typename... _Types> class Tuple; template<typename... _Types> class Tuple;
// empty tuple // empty tuple
template<> class Tuple<> {}; template<> class Tuple<> {
public:
Tuple()
{
}
};
// recursive tuple definition // recursive tuple definition
template<typename _This, typename... _Rest> template<typename _This, typename... _Rest>