../1.63/boost/bind/bind.hpp:75:22: Type 'void (*)(const uint32_t &)' cannot be used prior to '::' because it has no members
My code looks something like:
template<typename T>
using RunStep = void (*)(const T& steps);
template<typename StepType, typename T>
class Stepper
{
public:
virtual void StepUp() = 0;
protected:
RunStep<StepType> runStepCallBack;
T data;
}
class StepperIO : public Stepper<uint32_t, std::string>
{
virtual void StepUp()
{
boost::bind(runStepCallBack,this, _1); //
}
}
Is it even possible? Its just a psuedo-code