Matt Newport <
matt.t...@gmail.com> writes:
| It seems desirable for a pair or tuple containing only TrivialTypes
| (types for which is_trivial<T>::value is true) to also be a
| TrivialType but the standard doesn't seem to require this and it
| doesn't seem to be the case in the implementations I've tested (MSVC
| 2013 and clang with libc++).
when you have at least 8 ways of constructing a pair -- conceptually a
simple pair of data -- I wouldn't expect the resulting type to be
trivial no matter how trivial its individual components are. For
running those 8 constructors must be non-trivial ;-)