Home | History | Annotate | Download | only in string_insert

Lines Matching refs:pos1

13 //   insert(size_type pos1, const basic_string<charT,traits,Allocator>& str,
25 test(S s, typename S::size_type pos1, S str, typename S::size_type pos2,
32 s.insert(pos1, str, pos2, n);
34 assert(pos1 <= old_size && pos2 <= str.size());
39 assert(pos1 > old_size || pos2 > str.size());
46 test_npos(S s, typename S::size_type pos1, S str, typename S::size_type pos2, S expected)
52 s.insert(pos1, str, pos2);
54 assert(pos1 <= old_size && pos2 <= str.size());
59 assert(pos1 > old_size || pos2 > str.size());