| 138 | |
| 139 | template<typename Derived, typename R, typename... Args> |
| 140 | static R invokeWithArgs(Derived& that, R (Derived::*f)(Args...)) { |
| 141 | that.currentArgIndex = sizeof...(Args); |
| 142 | return invokeWithIndexedArgs(that, f, index_sequence_for<Args...>{}); |
| 143 | } |
| 144 | |
| 145 | private: |
| 146 | // FIXME: awful hack because of Boost::Test |