Files
boost_bind/include/boost/bind/mem_fn_cc.hpp
T

23 lines
797 B
C++
Raw Normal View History

2001-11-10 19:18:58 +00:00
//
// bind/mem_fn_cc.hpp - support for different calling conventions
2001-11-10 19:18:58 +00:00
//
// Do not include this header directly.
2001-11-10 19:18:58 +00:00
//
// Copyright 2001, 2024 Peter Dimov
2001-11-10 19:18:58 +00:00
//
// 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)
2001-11-10 19:18:58 +00:00
//
// See http://www.boost.org/libs/bind/mem_fn.html for documentation.
2001-11-10 19:18:58 +00:00
//
template<class R, class T, class... A> _mfi::BOOST_MEM_FN_NAME(mf)<R, T, A...> mem_fn(R (BOOST_MEM_FN_CC T::*f) (A...) BOOST_MEM_FN_NOEXCEPT)
2001-11-10 19:18:58 +00:00
{
return _mfi::BOOST_MEM_FN_NAME(mf)<R, T, A...>(f);
2001-11-10 19:18:58 +00:00
}
template<class R, class T, class... A> _mfi::BOOST_MEM_FN_NAME(cmf)<R, T, A...> mem_fn(R (BOOST_MEM_FN_CC T::*f) (A...) const BOOST_MEM_FN_NOEXCEPT)
2001-11-10 19:18:58 +00:00
{
return _mfi::BOOST_MEM_FN_NAME(cmf)<R, T, A...>(f);
2001-11-10 19:18:58 +00:00
}