#ifndef BOOST_BIND_APPLY_HPP_INCLUDED #define BOOST_BIND_APPLY_HPP_INCLUDED // // apply.hpp // // Copyright 2002, 2003, 2024 Peter Dimov // // 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) // namespace boost { template struct apply { typedef R result_type; template result_type operator()( F&& f, A&&... a ) const { return static_cast( f )( static_cast( a )... ); } }; } // namespace boost #endif // #ifndef BOOST_BIND_APPLY_HPP_INCLUDED