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.
When compiling the following snippet with older Boost versions, everything is OK:
However with Boost 1.85 it yields an error
The same applies for the other arguments, if the prototype has multiple arguments. From my understanding this is a regression.