Searched defs:string_pair (Results 1 – 1 of 1) sorted by relevance
4189 template <class StrT> struct string_pair { struct4190 StrT first;4191 StrT second;4194 string_pair(StrT f) : first(std::move(f)) {} in string_pair() function4195 string_pair(StrT f, StrT s) : first(std::move(f)), second(std::move(s)) {} in string_pair() function4196 template <size_t N> string_pair(const char (&s)[N]) : first(s, N - 1) {} in string_pair() argument4198 size_t size() const { return first.size() + second.size(); } in size()4199 StrT full() const { return first + second; } in full()4200 StrT move_full() { return std::move(first) + std::move(second); } in move_full()