diff --git a/research/try.cpp b/research/try.cpp index 9f582d6c7..5c87d4b1e 100644 --- a/research/try.cpp +++ b/research/try.cpp @@ -63,25 +63,19 @@ using std::tuple; namespace lib { namespace meta { - template< typename RET, class CLASS - , typename...ARGS - > - struct _Fun + template + struct _Fun { - typedef RET Ret; - typedef Types Args; - typedef RET Sig(CLASS* const, ARGS...); - }; - template< typename RET, class CLASS - , typename...ARGS - > - struct _Fun - { - typedef RET Ret; - typedef Types Args; - typedef RET Sig(CLASS* const, ARGS...); + using Ret = RET; + using Args = Types; + using Sig = RET(ARGS...); }; + template + struct _Fun + : _Fun + { }; + }}//namespace lib::meta ////////////////############# Investigation of implementation variants