Cleaner handling of explicit U to T conversions

This commit is contained in:
Andrzej Krzemienski
2014-06-20 11:38:57 +02:00
parent 4af83ecf83
commit 4cbb67e505
5 changed files with 68 additions and 83 deletions

View File

@ -149,7 +149,7 @@ int throw_()
throw int();
}
void test_function_value_or_call()
void test_function_value_or_eval()
{
optional<int> o1 = 1;
optional<int> oN;
@ -237,7 +237,7 @@ int test_main( int, char* [] )
{
test_function_value();
test_function_value_or();
test_function_value_or_call();
test_function_value_or_eval();
}
catch ( ... )
{