Lines Matching refs:opt1
493 optional<T> opt1 = opt ; in test_throwing_copy_initialization() local
523 optional<T> opt1(a) ; in test_throwing_assign_to_uninitialized() local
536 opt0 = opt1 ; in test_throwing_assign_to_uninitialized()
565 optional<T> opt1(b) ; in test_throwing_assign_to_initialized() local
579 opt0 = opt1 ; in test_throwing_assign_to_initialized()
610 optional<T> opt1(b) ; in test_no_throwing_swap() local
626 swap(opt0,opt1); in test_no_throwing_swap()
629 check_initialized(opt1); in test_no_throwing_swap()
631 check_value(opt1,a,z); in test_no_throwing_swap()
647 optional<T> opt1(b) ; in test_throwing_swap() local
658 swap(opt0,opt1); in test_throwing_swap()
669 check_initialized(opt1); in test_throwing_swap()
671 check_value(opt1,b,x); in test_throwing_swap()
680 opt1.reset(a); in test_throwing_swap()
689 swap(opt0,opt1); in test_throwing_swap()
698 check_initialized(opt1); in test_throwing_swap()
699 check_value(opt1,a,x); in test_throwing_swap()
719 optional<T> opt1(v1); in test_relops() local
753 BOOST_TEST ( opt0 != opt1 ) ; in test_relops()
754 BOOST_TEST ( opt1 == opt2 ) ; in test_relops()
755 BOOST_TEST ( opt0 < opt1 ) ; in test_relops()
756 BOOST_TEST ( opt1 > opt0 ) ; in test_relops()
757 BOOST_TEST ( opt1 <= opt2 ) ; in test_relops()
758 BOOST_TEST ( opt1 >= opt0 ) ; in test_relops()
763 BOOST_TEST ( opt1 == v2 ) ; in test_relops()
765 BOOST_TEST ( opt1 > v0 ) ; in test_relops()
766 BOOST_TEST ( opt1 <= v2 ) ; in test_relops()
767 BOOST_TEST ( opt1 >= v0 ) ; in test_relops()
768 BOOST_TEST ( v0 != opt1 ) ; in test_relops()
770 BOOST_TEST ( v0 < opt1 ) ; in test_relops()