Home | History | Annotate | Download | only in unit

Lines Matching refs:copy_n

90     istream_char_ite ite = copy_n(copy_n(istream_char_ite(istr),
94 copy_n(ite, 2, back_inserter(chars));
103 copy_n(istream_int_ite(istr), 2, back_inserter(ints));
109 copy_n(istream_string_ite(istr), 2, back_inserter(strings));
116 * in the previous copy_n call, this value is returned in the pair
117 * returned by copy_n but is lost as this istream_iterator is not used.
118 * copy_n and istream_iterator can only be combined safely if:
120 * the istream_iterator returned by copy_n (see previous test with "aabbcd")
125 copy_n(istream_int_ite(istr), 2, back_inserter(ints));
130 copy_n(istream_string_ite(istr), 2, back_inserter(strings));
141 itr = copy_n(itr, 0, back_inserter(ints)).first;
143 itr = copy_n(itr, -1, back_inserter(ints)).first;
145 itr = copy_n(itr, 2, back_inserter(ints)).first;
149 itr = copy_n(itr, 2, back_inserter(ints)).first;
153 itr = copy_n(itr, 2, back_inserter(ints)).first;