Merge branch 'develop' of https://github.com/eldiener/optional into cppbuilder

This commit is contained in:
Edward Diener
2020-04-17 05:55:24 -04:00
10 changed files with 57 additions and 19 deletions

View File

@ -93,7 +93,9 @@ template <typename T>
void test_all_const_cases()
{
test_converting_ctor<T>();
#ifndef BOOST_OPTIONAL_CONFIG_NO_PROPER_CONVERT_FROM_CONST_INT
test_converting_ctor<const T>();
#endif
test_converting_ctor_for_noconst_const<T>();
}