Now works on non-MSVC compilers

[SVN r11057]
This commit is contained in:
Douglas Gregor
2001-09-06 22:25:15 +00:00
parent c10fd424bc
commit b8cca277e5

View File

@ -115,6 +115,12 @@ namespace tuples {
}
#else
template<typename T>
explicit cons(const head_type& h, const T& t) :
head(h), tail(t.head, t.tail)
{
}
explicit cons(const head_type& h = head_type(),
const tail_type& t = tail_type()) :
head(h), tail(t)