Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:39:02

0001 //
0002 // Copyright (c) 2022 Dmitry Arkhipov (grisumbras@yandex.ru)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/json
0008 //
0009 
0010 #ifndef BOOST_JSON_IMPL_VALUE_HPP
0011 #define BOOST_JSON_IMPL_VALUE_HPP
0012 
0013 namespace boost {
0014 namespace json {
0015 
0016 value&
0017 value::at_pointer(string_view ptr) &
0018 {
0019     auto const& self = *this;
0020     return const_cast<value&>( self.at_pointer(ptr) );
0021 }
0022 
0023 value&&
0024 value::at_pointer(string_view ptr) &&
0025 {
0026     return std::move( this->at_pointer(ptr) );
0027 }
0028 
0029 } // namespace json
0030 } // namespace boost
0031 
0032 #endif // BOOST_JSON_IMPL_VALUE_HPP