|
|
|||
File indexing completed on 2025-12-16 09:44:11
0001 #ifndef BOOST_BIND_APPLY_HPP_INCLUDED 0002 #define BOOST_BIND_APPLY_HPP_INCLUDED 0003 0004 // 0005 // apply.hpp 0006 // 0007 // Copyright 2002, 2003, 2024 Peter Dimov 0008 // 0009 // Distributed under the Boost Software License, Version 1.0. (See 0010 // accompanying file LICENSE_1_0.txt or copy at 0011 // http://www.boost.org/LICENSE_1_0.txt) 0012 // 0013 0014 namespace boost 0015 { 0016 0017 template<class R> struct apply 0018 { 0019 typedef R result_type; 0020 0021 template<class F, class... A> result_type operator()( F&& f, A&&... a ) const 0022 { 0023 return static_cast<F&&>( f )( static_cast<A&&>( a )... ); 0024 } 0025 }; 0026 0027 } // namespace boost 0028 0029 #endif // #ifndef BOOST_BIND_APPLY_HPP_INCLUDED
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|