Lines Matching defs:pos
13 // constexpr basic_string(basic_string&& str, size_type pos, const Allocator& a = Allocator());
14 // constexpr basic_string(basic_string&& str, size_type pos, size_type n, const Allocator& a = Allocator());
35 constexpr void test_string_pos(S orig, typename S::size_type pos, S expected) {
39 S substr(std::move(orig), pos);
49 constexpr void test_string_pos(S orig, typename S::size_type pos, should_throw_exception_t) {
53 [[maybe_unused]] S substr = S(std::move(orig), pos);
60 (void)pos;
66 test_string_pos_alloc(S orig, typename S::size_type pos, const typename S::allocator_type& alloc, S expected) {
67 S substr(std::move(orig), pos, alloc);
78 S orig, typename S::size_type pos, const typename S::allocator_type& alloc, should_throw_exception_t) {
82 [[maybe_unused]] S substr = S(std::move(orig), pos, alloc);
89 (void)pos;
95 constexpr void test_string_pos_n(S orig, typename S::size_type pos, typename S::size_type n, S expected) {
99 S substr(std::move(orig), pos, n);
109 constexpr void test_string_pos_n(S orig, typename S::size_type pos, typename S::size_type n, should_throw_exception_t) {
113 [[maybe_unused]] S substr = S(std::move(orig), pos, n);
120 (void)pos;
127 S orig, typename S::size_type pos, typename S::size_type n, const typename S::allocator_type& alloc, S expected) {
128 S substr(std::move(orig), pos, n, alloc);
140 typename S::size_type pos,
147 [[maybe_unused]] S substr = S(std::move(orig), pos, n, alloc);
154 (void)pos;