In-place factories moved from /detail to /utility

New value_initalized tests added


[SVN r25436]
This commit is contained in:
Fernando Cacciola
2004-09-27 12:28:21 +00:00
parent 07a80c1b9b
commit 24c5f92413
2 changed files with 6 additions and 2 deletions

View File

@ -60,12 +60,16 @@ int test_main( int, char* [] )
BOOST_CHECK( opt2 == opt2 ) ;
BOOST_CHECK( *opt2 == a0 ) ;
#ifndef BOOST_OPTIONAL_WEAK_OVERLOAD_RESOLUTION
opt2 = boost::in_place(a10,a11);
BOOST_CHECK( *opt2 == a1 ) ;
opt3 = boost::in_place<A>(a10,a11);
BOOST_CHECK( *opt3 == a1 ) ;
#endif
return 0;
}
#else