Lines Matching refs:function
133 template <typename T> static void foo(T function);
134 template <typename T> static void bar(T function);
135 template <typename T> static void func(T function);
138 template <typename T> void C::foo(T function) { function(); }
140 template <typename T> void C::bar(T function) {
141 foo([&function]() { function(); });
144 template <typename T> void C::func(T function) {
148 Struct(T function) : mFunction(function) {};
155 bar(Struct(function));
164 struct function {
165 template <typename _Functor> function(_Functor __f) { __f(); }
167 template <typename Func> function exec_func(Func f) {