Lines Matching refs:MyInteger
18 circular_buffer<MyInteger> cb(4, 3); in iterator_constructor_and_assign_test()
19 circular_buffer<MyInteger>::iterator it = cb.begin(); in iterator_constructor_and_assign_test()
20 circular_buffer<MyInteger>::const_iterator cit2 = cb.cbegin(); in iterator_constructor_and_assign_test()
21 circular_buffer<MyInteger>::iterator itCopy; in iterator_constructor_and_assign_test()
24 circular_buffer<MyInteger>::const_iterator cit; in iterator_constructor_and_assign_test()
26 circular_buffer<MyInteger>::const_iterator end1 = cb.end(); in iterator_constructor_and_assign_test()
27 circular_buffer<MyInteger>::const_iterator end2 = end1; in iterator_constructor_and_assign_test()
28 circular_buffer<MyInteger>::const_iterator end3 = cb.cend(); in iterator_constructor_and_assign_test()
57 circular_buffer<MyInteger> cb(5, 1); in iterator_difference_test()
59 circular_buffer<MyInteger>::iterator it1 = cb.begin() + 2; in iterator_difference_test()
60 circular_buffer<MyInteger>::iterator it2 = cb.begin() + 3; in iterator_difference_test()
61 circular_buffer<MyInteger>::const_iterator begin = cb.begin(); in iterator_difference_test()
62 circular_buffer<MyInteger>::iterator end = cb.end(); in iterator_difference_test()
78 circular_buffer<MyInteger> cb(10, 1); in iterator_increment_test()
80 circular_buffer<MyInteger>::iterator it1 = cb.begin(); in iterator_increment_test()
81 circular_buffer<MyInteger>::iterator it2 = cb.begin() + 5; in iterator_increment_test()
82 circular_buffer<MyInteger>::iterator it3 = cb.begin() + 9; in iterator_increment_test()
94 circular_buffer<MyInteger> cb(10, 1); in iterator_decrement_test()
96 circular_buffer<MyInteger>::iterator it1= cb.end(); in iterator_decrement_test()
97 circular_buffer<MyInteger>::iterator it2= cb.end() - 5; in iterator_decrement_test()
98 circular_buffer<MyInteger>::iterator it3= cb.end() - 9; in iterator_decrement_test()
110 circular_buffer<MyInteger> cb(10, 1); in iterator_addition_test()
113 circular_buffer<MyInteger>::iterator it1 = cb.begin() + 2; in iterator_addition_test()
114 circular_buffer<MyInteger>::iterator it2 = cb.end(); in iterator_addition_test()
115 circular_buffer<MyInteger>::iterator it3 = cb.begin() + 5; in iterator_addition_test()
116 circular_buffer<MyInteger>::iterator it4 = cb.begin() + 9; in iterator_addition_test()
132 circular_buffer<MyInteger> cb(10, 1); in iterator_subtraction_test()
136 circular_buffer<MyInteger>::iterator it1 = cb.begin(); in iterator_subtraction_test()
137 circular_buffer<MyInteger>::iterator it2 = cb.end(); in iterator_subtraction_test()
138 circular_buffer<MyInteger>::iterator it3 = cb.end() - 5; in iterator_subtraction_test()
139 circular_buffer<MyInteger>::iterator it4 = cb.begin() + 7; in iterator_subtraction_test()
154 circular_buffer<MyInteger> cb(10); in iterator_element_access_test()
161 circular_buffer<MyInteger>::iterator it = cb.begin() + 1; in iterator_element_access_test()
170 circular_buffer<MyInteger> cb(5, 1); in iterator_comparison_test()
172 circular_buffer<MyInteger>::iterator it = cb.begin() + 2; in iterator_comparison_test()
173 circular_buffer<MyInteger>::const_iterator begin = cb.begin(); in iterator_comparison_test()
174 circular_buffer<MyInteger>::iterator end = cb.end(); in iterator_comparison_test()
202 circular_buffer<MyInteger>::iterator it1; in iterator_invalidation_test()
203 circular_buffer<MyInteger>::const_iterator it2; in iterator_invalidation_test()
204 circular_buffer<MyInteger>::iterator it3; in iterator_invalidation_test()
205 circular_buffer<MyInteger>::const_iterator it4; in iterator_invalidation_test()
206 circular_buffer<MyInteger>::const_iterator it5; in iterator_invalidation_test()
207 circular_buffer<MyInteger>::const_iterator it6; in iterator_invalidation_test()
217 circular_buffer<MyInteger> cb(5, 0); in iterator_invalidation_test()
218 const circular_buffer<MyInteger> ccb(5, 0); in iterator_invalidation_test()
242 circular_buffer<MyInteger> cb(10, 0); in iterator_invalidation_test()
253 circular_buffer<MyInteger> cb1(10, 0); in iterator_invalidation_test()
254 circular_buffer<MyInteger> cb2(20, 0); in iterator_invalidation_test()
271 circular_buffer<MyInteger> cb3(5); in iterator_invalidation_test()
291 circular_buffer<MyInteger> cb4(5); in iterator_invalidation_test()
316 circular_buffer<MyInteger> cb5(20, 0); in iterator_invalidation_test()
331 circular_buffer<MyInteger> cb6(20, 0); in iterator_invalidation_test()
346 circular_buffer<MyInteger> cb7(10, 1); in iterator_invalidation_test()
409 circular_buffer<MyInteger> cb8(10, 1); in iterator_invalidation_test()
459 circular_buffer<MyInteger> cb9(15, 1); in iterator_invalidation_test()
470 circular_buffer<MyInteger> cb10(10, 1); in iterator_invalidation_test()
481 circular_buffer<MyInteger> cb11(10, 1); in iterator_invalidation_test()
492 circular_buffer<MyInteger> cb12(10, 1); in iterator_invalidation_test()
503 circular_buffer<MyInteger> cb13(10, 1); in iterator_invalidation_test()
514 circular_buffer<MyInteger> cb14(10); in iterator_invalidation_test()
532 circular_buffer<MyInteger> cb15(7); in iterator_invalidation_test()
552 circular_buffer<MyInteger> cb16(10); in iterator_invalidation_test()
578 circular_buffer<MyInteger> cb1(3, 5); in exception_safety_test()
579 MyInteger::set_exception_trigger(3); in exception_safety_test()
582 MyInteger::set_exception_trigger(3); in exception_safety_test()
587 MyInteger::set_exception_trigger(3); in exception_safety_test()
588 BOOST_TEST_THROWS(circular_buffer<MyInteger> cb2(5, 10), std::exception); in exception_safety_test()
590 circular_buffer<MyInteger> cb3(5, 10); in exception_safety_test()
591 MyInteger::set_exception_trigger(3); in exception_safety_test()
592 BOOST_TEST_THROWS(circular_buffer<MyInteger> cb4(cb3), std::exception); in exception_safety_test()
594 vector<MyInteger> v(5, MyInteger(10)); in exception_safety_test()
595 MyInteger::set_exception_trigger(3); in exception_safety_test()
596 BOOST_TEST_THROWS(circular_buffer<MyInteger> cb5(8, v.begin(), v.end()), std::exception); in exception_safety_test()
598 circular_buffer<MyInteger> cb6(5, 10); in exception_safety_test()
599 circular_buffer<MyInteger> cb7(8, 3); in exception_safety_test()
600 MyInteger::set_exception_trigger(3); in exception_safety_test()
608 circular_buffer<MyInteger> cb8(5, 10); in exception_safety_test()
609 MyInteger::set_exception_trigger(2); in exception_safety_test()
612 circular_buffer<MyInteger> cb9(5); in exception_safety_test()
616 MyInteger::set_exception_trigger(3); in exception_safety_test()
619 circular_buffer<MyInteger> cb10(5); in exception_safety_test()
623 MyInteger::set_exception_trigger(3); in exception_safety_test()
626 circular_buffer<MyInteger> cb11(5); in exception_safety_test()
629 MyInteger::set_exception_trigger(2); in exception_safety_test()
632 circular_buffer<MyInteger> cb12(5, 1); in exception_safety_test()
633 MyInteger::set_exception_trigger(3); in exception_safety_test()
636 circular_buffer<MyInteger> cb13(5, 1); in exception_safety_test()
637 MyInteger::set_exception_trigger(3); in exception_safety_test()
640 circular_buffer<MyInteger> cb14(5); in exception_safety_test()
643 MyInteger::set_exception_trigger(3); in exception_safety_test()
646 circular_buffer<MyInteger> cb15(5); in exception_safety_test()
649 MyInteger::set_exception_trigger(3); in exception_safety_test()
652 circular_buffer<MyInteger> cb16(5); in exception_safety_test()
655 MyInteger::set_exception_trigger(3); in exception_safety_test()
658 circular_buffer<MyInteger> cb17(5); in exception_safety_test()
661 MyInteger::set_exception_trigger(3); in exception_safety_test()
664 circular_buffer<MyInteger> cb18(5, 0); in exception_safety_test()
668 MyInteger::set_exception_trigger(4); in exception_safety_test()
671 circular_buffer<MyInteger> cb19(5, 0); in exception_safety_test()
674 MyInteger::set_exception_trigger(5); in exception_safety_test()
677 circular_buffer<MyInteger> cb20(5, 0); in exception_safety_test()
680 MyInteger::set_exception_trigger(6); in exception_safety_test()
683 circular_buffer<MyInteger> cb21(5); in exception_safety_test()
687 MyInteger::set_exception_trigger(2); in exception_safety_test()
690 circular_buffer<MyInteger> cb22(5); in exception_safety_test()
694 MyInteger::set_exception_trigger(2); in exception_safety_test()
697 circular_buffer<MyInteger> cb23(5, 0); in exception_safety_test()
698 MyInteger::set_exception_trigger(2); in exception_safety_test()
701 circular_buffer<MyInteger> cb24(5); in exception_safety_test()
705 MyInteger::set_exception_trigger(2); in exception_safety_test()
708 circular_buffer<MyInteger> cb25(5, 0); in exception_safety_test()
709 MyInteger::set_exception_trigger(2); in exception_safety_test()
712 circular_buffer<MyInteger> cb26(5); in exception_safety_test()
715 MyInteger::set_exception_trigger(5); in exception_safety_test()
718 circular_buffer<MyInteger> cb27(5); in exception_safety_test()
721 MyInteger::set_exception_trigger(5); in exception_safety_test()
724 circular_buffer<MyInteger> cb28(5); in exception_safety_test()
727 MyInteger::set_exception_trigger(5); in exception_safety_test()
730 circular_buffer<MyInteger> cb29(5); in exception_safety_test()
733 MyInteger::set_exception_trigger(5); in exception_safety_test()
736 circular_buffer<MyInteger> cb30(10); in exception_safety_test()
740 MyInteger::set_exception_trigger(2); in exception_safety_test()