}
};
-template<typename typename Thunk_>
+template<typename Thunk_>
class CallbackBase
{
void* m_environment;
}
};
-template<typename typename Thunk>
+template<typename Thunk>
inline bool operator==(const CallbackBase<Thunk>& self, const CallbackBase<Thunk>& other)
{
return self.getEnvironment() == other.getEnvironment() && self.getThunk() == other.getThunk();
}
-template<typename typename Thunk>
+template<typename Thunk>
inline bool operator!=(const CallbackBase<Thunk>& self, const CallbackBase<Thunk>& other)
{
return !(self == other);
}
-template<typename typename Thunk>
+template<typename Thunk>
inline bool operator<(const CallbackBase<Thunk>& self, const CallbackBase<Thunk>& other)
{
return self.getEnvironment() < other.getEnvironment() ||
Callback0(const BindFirstOpaque<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque<Caller>::thunk)
{
}
- Callback0(void* environment, Thunk function) : Base(environment, function)
+ Callback0(void* environment, typename Base::Thunk function) : Base(environment, function)
{
}
result_type operator()() const
Callback1(const BindFirstOpaque1<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque1<Caller>::thunk)
{
}
- Callback1(void* environment, Thunk function) : Base(environment, function)
+ Callback1(void* environment, typename Base::Thunk function) : Base(environment, function)
{
}
result_type operator()(FirstArgument firstArgument) const
Callback2(const BindFirstOpaque2<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque2<Caller>::thunk)
{
}
- Callback2(void* environment, Thunk function) : Base(environment, function)
+ Callback2(void* environment, typename Base::Thunk function) : Base(environment, function)
{
}
result_type operator()(FirstArgument firstArgument, SecondArgument secondArgument) const
Callback3(const BindFirstOpaque3<Caller>& caller) : Base(caller.getEnvironment(), BindFirstOpaque3<Caller>::thunk)
{
}
- Callback3(void* environment, Thunk function) : Base(environment, function)
+ Callback3(void* environment, typename Base::Thunk function) : Base(environment, function)
{
}
result_type operator()(FirstArgument firstArgument, SecondArgument secondArgument, ThirdArgument thirdArgument) const