Lines Matching refs:Args
59 template <class... Args>
60 FailureWrapper(Args &&... args) : Base(std::forward<Args>(args)...)
68 * @param[in] args parameters to call method call with. */
69 template <class K, class... MArgs, class... Args>
70 void mayFailCall(bool (K::*method)(MArgs...) const, Args &&... args) const
72 wrapCall<bool>(*this, method, std::forward<Args>(args)...);
79 * @param[in] args parameters to call method call with. */
80 template <class K, class... MArgs, class... Args>
81 void mayFailCall(bool (K::*method)(MArgs...), Args &&... args)
83 wrapCall<bool>(*this, method, std::forward<Args>(args)...);
90 * @param[in] args parameters to call method call with. */
91 template <class K, class ReturnType, class... MArgs, class... Args>
92 ReturnType *mayFailCall(ReturnType *(K::*method)(MArgs...), Args &&... args)
94 return wrapCall<ReturnType *>(*this, method, std::forward<Args>(args)...);
101 * @param[in] args parameters to call method call with. */
102 template <class K, class ReturnType, class... MArgs, class... Args>
103 ReturnType *mayFailCall(ReturnType *(K::*method)(MArgs...) const, Args &&... args) const
105 return wrapCall<ReturnType *>(*this, method, std::forward<Args>(args)...);
125 template <class Ret, class I, class M, class... Args>
126 static Ret wrapCall(I &instance, M method, Args &&... args)
129 auto res = (instance.*method)(std::forward<Args>(args)..., error);