nick
2018-12-01 06:16:40 UTC
Greetings All,
Seems the code has changed and may actually require a better fix than just the functions
mentioned on this page, http://cplusplus.github.io/LWG/lwg-active.html#2899.
I am wondering if these are the functions or one of them firstly:
constexpr tuple(tuple<_UElements...>&& __in)
_Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { }
and why not just do all rvalue functions that are like this for
all operators? Seems the spec is only mentioned a few functions
but noexpect on move is normally a good idea unless the C++
standard or the C++ library needs it for other template parsing
reasons.
Regards,
Nick
Seems the code has changed and may actually require a better fix than just the functions
mentioned on this page, http://cplusplus.github.io/LWG/lwg-active.html#2899.
I am wondering if these are the functions or one of them firstly:
constexpr tuple(tuple<_UElements...>&& __in)
_Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { }
and why not just do all rvalue functions that are like this for
all operators? Seems the spec is only mentioned a few functions
but noexpect on move is normally a good idea unless the C++
standard or the C++ library needs it for other template parsing
reasons.
Regards,
Nick