1234567891011121314151617181920212223242526272829 |
- #ifndef BOOST_BIND_APPLY_HPP_INCLUDED
- #define BOOST_BIND_APPLY_HPP_INCLUDED
- namespace boost
- {
- template<class R> struct apply
- {
- typedef R result_type;
- template<class F, class... A> result_type operator()( F&& f, A&&... a ) const
- {
- return static_cast<F&&>( f )( static_cast<A&&>( a )... );
- }
- };
- }
- #endif
|