fork download
  1. #include <tuple>
  2.  
  3. template<class...>class types_t{
  4. using type=types_t; constexpr types_t(){};
  5. };
  6.  
  7. template<class...Ts>
  8. constexpr const types_t<Ts...> types={};
  9.  
  10. template<class T>class tag{using type=T;};
  11.  
  12. template<class Tag>using type_t=typename Tag::type;
  13.  
  14. template<class T>using block_deduction=type_t<tag<T>>;
  15.  
  16. template<class... Return, class... Args> std::tuple<Return...> Method(
  17. types_t<Return...> ret_types,
  18. types_t<Args...> arg_types,
  19. block_deduction<Args>... args
  20. );
  21.  
  22. int main(){}
Success #stdin #stdout 0s 3452KB
stdin
Standard input is empty
stdout
Standard output is empty