Sha256: 340234c6d31936d68486e89fad8668906fbe443caa9c3e88104e1c576fbfa3ba

Contents?: true

Size: 919 Bytes

Versions: 69

Compression:

Stored size: 919 Bytes

Contents

// Copyright David Abrahams 2005. Distributed under 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)
#ifndef BOOST_PARAMETER_AUX_RESULT_OF0_DWA2005511_HPP
# define BOOST_PARAMETER_AUX_RESULT_OF0_DWA2005511_HPP

# include <boost/utility/result_of.hpp>

// A metafunction returning the result of invoking a nullary function
// object of the given type.

#ifndef BOOST_NO_RESULT_OF

# include <boost/utility/result_of.hpp>
namespace boost { namespace parameter { namespace aux { 
template <class F>
struct result_of0 : result_of<F()>
{};

}}} // namespace boost::parameter::aux_

#else

namespace boost { namespace parameter { namespace aux { 
template <class F>
struct result_of0
{
    typedef typename F::result_type type;
};

}}} // namespace boost::parameter::aux_

#endif 


#endif // BOOST_PARAMETER_AUX_RESULT_OF0_DWA2005511_HPP

Version data entries

69 entries across 69 versions & 3 rubygems

Version Path
passenger-5.0.4 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.3 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.2 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.1 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.0.rc2 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.0.rc1 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.0.beta3 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.0.beta2 ext/boost/parameter/aux_/result_of0.hpp
passenger-5.0.0.beta1 ext/boost/parameter/aux_/result_of0.hpp