Sha256: 3891df9f14b638629ed0a3db57d12ef4f9f2b4722681c338a7154950dc93a187

Contents?: true

Size: 731 Bytes

Versions: 77

Compression:

Stored size: 731 Bytes

Contents

// Boost.Range library
//
//  Copyright Thorsten Ottosen 2003-2004. Use, modification and
//  distribution is subject to the Boost Software License, Version
//  1.0. (See accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org/libs/range/
//

#ifndef BOOST_RANGE_EMPTY_HPP
#define BOOST_RANGE_EMPTY_HPP

#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif

#include <boost/range/config.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>

namespace boost 
{ 

    template< class T >
    inline bool empty( const T& r )
    {
        return boost::begin( r ) == boost::end( r );
    }

} // namepace 'boost'


#endif

Version data entries

77 entries across 77 versions & 8 rubygems

Version Path
rockdog-passenger-0.0.1 ext/boost/range/empty.hpp
passenger-4.0.20 ext/boost/range/empty.hpp
passenger-4.0.19 ext/boost/range/empty.hpp
passenger-4.0.18 ext/boost/range/empty.hpp
passenger-4.0.17 ext/boost/range/empty.hpp
passenger-4.0.16 ext/boost/range/empty.hpp
passenger-4.0.14 ext/boost/range/empty.hpp
passenger-4.0.13 ext/boost/range/empty.hpp
passenger-4.0.10 ext/boost/range/empty.hpp
passenger-4.0.8 ext/boost/range/empty.hpp
passenger-4.0.7 ext/boost/range/empty.hpp
passenger-4.0.6 ext/boost/range/empty.hpp
passenger-4.0.5 ext/boost/range/empty.hpp
passenger-3.0.21 ext/boost/range/empty.hpp
passenger-4.0.4 ext/boost/range/empty.hpp
passenger-4.0.3 ext/boost/range/empty.hpp
passenger-4.0.2 ext/boost/range/empty.hpp
passenger-4.0.1 ext/boost/range/empty.hpp
passenger-4.0.0.rc6 ext/boost/range/empty.hpp
passenger-4.0.0.rc4 ext/boost/range/empty.hpp