| 94 | |
| 95 | #ifdef JSONCPP_HAS_STRING_VIEW |
| 96 | std::string_view ValueIteratorBase::name() const { |
| 97 | char const* keey; |
| 98 | char const* end; |
| 99 | keey = memberName(&end); |
| 100 | if (!keey) { |
| 101 | return std::string_view(); |
| 102 | } |
| 103 | return std::string_view(keey, end - keey); |
| 104 | } |
| 105 | #else |
| 106 | StringContainer ValueIteratorBase::name() const { |
| 107 | char const* keey; |