Skip to content

Upgrade to 1.85 causes arg1_type to be missing #51

Description

@martin5233

When compiling the following snippet with older Boost versions, everything is OK:

#include <boost/function.hpp>

using ArgType = typename boost::function<int(int)>::arg1_type;

However with Boost 1.85 it yields an error

/scratch/apel/new_arch/develop/src/ooa/main_support/test.cpp:7:53: error: ‘arg1_type’ in ‘class boost::function<int(int)>’ does not name a type
    7 | using ArgType = typename boost::function<int(int)>::arg1_type;

The same applies for the other arguments, if the prototype has multiple arguments. From my understanding this is a regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions