Warning, file /include/boost/range/empty.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_RANGE_EMPTY_HPP
0012 #define BOOST_RANGE_EMPTY_HPP
0013
0014 #if defined(_MSC_VER)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/range/config.hpp>
0019 #include <boost/range/begin.hpp>
0020 #include <boost/range/end.hpp>
0021
0022 namespace boost
0023 {
0024
0025 template< class T >
0026 inline bool empty( const T& r )
0027 {
0028 return boost::begin( r ) == boost::end( r );
0029 }
0030
0031 }
0032
0033
0034 #endif