Fixed bug in test/sequence/nest.hpp where some results were ignored

This commit is contained in:
Lee Clagett
2017-07-25 15:29:57 -04:00
parent 36eac2e77c
commit b24dfd635b

View File

@ -116,7 +116,7 @@ namespace test_detail
bool operator()(Source const& source, Expected const& expected)
{
return
run< can_copy<T> >(source, expected);
run< can_copy<T> >(source, expected) &&
run< can_convert_using<can_copy>::to<T> >(source, expected) &&
run< can_construct_from_elements<T> >(source, expected);
}