Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:51:17

0001 // Boost.Range library
0002 //
0003 //  Copyright Thorsten Ottosen 2003-2004. Use, modification and
0004 //  distribution is subject to the Boost Software License, Version
0005 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
0006 //  http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 // For more information, see http://www.boost.org/libs/range/
0009 //
0010 
0011 #ifndef BOOST_RANGE_DETAIL_SIZER_HPP
0012 #define BOOST_RANGE_DETAIL_SIZER_HPP
0013 
0014 #if defined(_MSC_VER)
0015 # pragma once
0016 #endif
0017 
0018 #include <boost/range/config.hpp>
0019 #include <cstddef>
0020 
0021 namespace boost 
0022 {
0023     //////////////////////////////////////////////////////////////////////
0024     // constant array size
0025     //////////////////////////////////////////////////////////////////////
0026     
0027     template< typename T, std::size_t sz >
0028     char (& sizer( const T BOOST_RANGE_ARRAY_REF()[sz] ) )[sz];
0029     
0030     template< typename T, std::size_t sz >
0031     char (& sizer( T BOOST_RANGE_ARRAY_REF()[sz] ) )[sz];
0032 
0033 } // namespace 'boost'
0034 
0035 #endif