Compare commits

...

3 Commits

Author SHA1 Message Date
fcbd6abb94 Phoenix Reloaded
[SVN r53348]
2009-05-28 17:15:17 +00:00
fea89e84f3 Fixed most tab and min/max issues from trunk inspection report
[SVN r53141]
2009-05-20 19:19:00 +00:00
2772bfc08d optional docs in cmakeland
[SVN r52251]
2009-04-08 12:09:58 +00:00
4 changed files with 7 additions and 5 deletions

View File

@ -12,7 +12,7 @@ boost_library_project(
# SRCDIRS
TESTDIRS test
HEADERS ${lib_headers}
# DOCDIRS
DOCDIRS doc
# DESCRIPTION
MODULARIZED
# AUTHORS

2
doc/CMakeLists.txt Normal file
View File

@ -0,0 +1,2 @@
boost_add_documentation(optional.qbk)

0
doc/html/boostbook.css Executable file → Normal file
View File

View File

@ -342,14 +342,14 @@ void test_binding()
int i = 0 ;
optional<int&> ori1 = i ;
BOOST_CHECK( &(*ori1) == &i ) ;
optional<int&> ori2(i) ;
BOOST_CHECK( &(*ori2) == &i ) ;
int const ci = 0 ;
optional<int const&> orci1 = ci ;
BOOST_CHECK( &(*orci1) == &ci ) ;
optional<int const&> orci2(ci) ;
BOOST_CHECK( &(*orci2) == &ci ) ;
}
@ -360,7 +360,7 @@ int test_main( int, char* [] )
{
test_with_class_type();
test_with_builtin_types();
test_binding();
test_binding();
}
catch ( ... )
{