Skip to content

Commit

Permalink
Rename apply to apply_ to avoid msvc-14.3 conflict. Fixes #53.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Oct 12, 2024
1 parent ac731c9 commit 89dfb03
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/boost/function/function_template.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ namespace boost {
actual invoker that will be used for the given function
object.
Each specialization contains an "apply" nested class template
Each specialization contains an "apply_" nested class template
that accepts the function object, return type, function
argument types, and allocator. The resulting "apply" class
argument types, and allocator. The resulting "apply_" class
contains two typedefs, "invoker_type" and "manager_type",
which correspond to the invoker and manager types. */
template<typename Tag>
Expand All @@ -275,7 +275,7 @@ namespace boost {
{
template<typename FunctionPtr,
typename R, typename... T>
struct apply
struct apply_
{
typedef typename get_function_invoker<
FunctionPtr,
Expand Down Expand Up @@ -308,7 +308,7 @@ namespace boost {
{
template<typename MemberPtr,
typename R, typename... T>
struct apply
struct apply_
{
typedef typename get_member_invoker<
MemberPtr,
Expand Down Expand Up @@ -341,7 +341,7 @@ namespace boost {
{
template<typename FunctionObj,
typename R, typename... T>
struct apply
struct apply_
{
typedef typename get_function_obj_invoker<
FunctionObj,
Expand Down Expand Up @@ -374,7 +374,7 @@ namespace boost {
{
template<typename RefWrapper,
typename R, typename... T>
struct apply
struct apply_
{
typedef typename get_function_ref_invoker<
typename RefWrapper::type,
Expand Down Expand Up @@ -923,7 +923,7 @@ namespace boost {
typedef typename boost::detail::function::get_function_tag<Functor>::type tag;
typedef boost::detail::function::get_invoker<tag> get_invoker;
typedef typename get_invoker::
template apply<Functor, R,
template apply_<Functor, R,
T...>
handler_type;

Expand Down

0 comments on commit 89dfb03

Please sign in to comment.