LCOV - code coverage report
Current view: top level - json/impl - value.hpp (source / functions) Coverage Total Hit
Test: coverage_remapped.info Lines: 100.0 % 3 3
Test Date: 2026-02-25 20:43:10 Functions: 100.0 % 1 1

           TLA  Line data    Source code
       1                 : //
       2                 : // Copyright (c) 2022 Dmitry Arkhipov (grisumbras@yandex.ru)
       3                 : //
       4                 : // Distributed under the Boost Software License, Version 1.0. (See accompanying
       5                 : // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       6                 : //
       7                 : // Official repository: https://github.com/boostorg/json
       8                 : //
       9                 : 
      10                 : #ifndef BOOST_JSON_IMPL_VALUE_HPP
      11                 : #define BOOST_JSON_IMPL_VALUE_HPP
      12                 : 
      13                 : namespace boost {
      14                 : namespace json {
      15                 : 
      16                 : value&
      17 HIT          33 : value::at_pointer(string_view ptr, source_location const& loc) &
      18                 : {
      19              33 :     auto const& self = *this;
      20              33 :     return const_cast<value&>( self.at_pointer(ptr, loc) );
      21                 : }
      22                 : 
      23                 : value&&
      24                 : value::at_pointer(string_view ptr, source_location const& loc) &&
      25                 : {
      26                 :     return std::move( at_pointer(ptr, loc) );
      27                 : }
      28                 : 
      29                 : } // namespace json
      30                 : } // namespace boost
      31                 : 
      32                 : #endif // BOOST_JSON_IMPL_VALUE_HPP
        

Generated by: LCOV version 2.3