| 3896 | |
| 3897 | template <typename CharsAlloc> |
| 3898 | std::basic_string<char_type,char_traits_type,CharsAlloc> as_string(const CharsAlloc& alloc) const |
| 3899 | { |
| 3900 | using value_type = std::basic_string<char_type,char_traits_type,CharsAlloc>; |
| 3901 | auto r = try_as_string<value_type>(make_alloc_set(alloc)); |
| 3902 | if (!r) |
| 3903 | { |
| 3904 | JSONCONS_THROW(conv_error(r.error().code())); |
| 3905 | } |
| 3906 | return *r; |
| 3907 | } |
| 3908 | |
| 3909 | template <typename CharsAlloc=std::allocator<char_type>> |
| 3910 | std::basic_string<char_type,char_traits_type,CharsAlloc> as_string() const |
nothing calls this directly
no test coverage detected