corrected the compiler workarounds

This commit is contained in:
Andrzej Krzemienski
2016-11-22 02:35:24 +01:00
parent b4907c2a51
commit d73b5110dd
4 changed files with 7 additions and 5 deletions

View File

@ -41,9 +41,11 @@ struct superconv
void test_optional_of_superconverting_T() // compile-time test
{
#ifndef BOOST_OPTIONAL_DETAIL_NO_IS_CONSTRUCTIBLE_TRAIT
superconv<optional<int> > s;
superconv<optional<int> > & rs = s;
optional<superconv<optional<int> > > os = rs;
#endif
}
void test_optional_optional_T()