Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:28:01

0001 // Range v3 library
0002 //
0003 //  Copyright Eric Niebler 2013,2014.
0004 //
0005 //  Use, modification and distribution is subject to the
0006 //  Boost Software License, Version 1.0. (See accompanying
0007 //  file LICENSE_1_0.txt or copy at
0008 //  http://www.boost.org/LICENSE_1_0.txt)
0009 //
0010 // Project home: https://github.com/ericniebler/range-v3
0011 //
0012 
0013 #ifndef RANGES_V3_UTILITY_NULLPTR_V_HPP
0014 #define RANGES_V3_UTILITY_NULLPTR_V_HPP
0015 
0016 #include <range/v3/detail/config.hpp>
0017 RANGES_DEPRECATED_HEADER(
0018     "This header is deprecated and will be removed from a future version of range-v3.")
0019 
0020 #include <range/v3/detail/prologue.hpp>
0021 
0022 namespace ranges
0023 {
0024     /// \ingroup group-utility
0025     template<typename T>
0026     constexpr T * _nullptr_v()
0027     {
0028         return nullptr;
0029     }
0030 
0031 #if RANGES_CXX_VARIABLE_TEMPLATES
0032     /// \ingroup group-utility
0033     template<typename T>
0034     constexpr T * nullptr_v = nullptr;
0035 #endif
0036 } // namespace ranges
0037 
0038 #include <range/v3/detail/epilogue.hpp>
0039 
0040 #endif