Changeset 3598
- Timestamp:
- Jan 22, 2017, 12:17:40 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/segment.cc
r3550 r3598 35 35 void test_insert(test::Suite&); 36 36 void test_insert_merge(test::Suite&); 37 void test_make_segment(test::Suite&); 37 38 void test_segment(test::Suite& suite); 38 39 void test_operator(test::Suite& suite); … … 52 53 test_insert(suite); 53 54 test_insert_merge(suite); 55 test_make_segment(suite); 54 56 test_segment(suite); 55 57 test_set_bound(suite); … … 211 213 } 212 214 215 216 void make_segment_foo(Segment<int> seg) 217 { 218 } 219 220 221 void test_make_segment(test::Suite& suite) 222 { 223 make_segment_foo(make_segment(12, 18)); 224 } 225 226 213 227 void test_set_bound(test::Suite& suite) 214 228 { -
trunk/yat/utility/Segment.h
r3550 r3598 94 94 //Segment& operator=(const Segment&); 95 95 }; 96 97 98 /** 99 \return Segment<T> 100 101 \since ney in yat 0.15 102 */ 103 template<typename T> 104 Segment<T> make_segment(T first, T last) 105 { 106 return Segment<T>(first, last); 107 } 96 108 97 109
Note: See TracChangeset
for help on using the changeset viewer.