fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. template<class T>
  6. struct FuncA
  7. {
  8. static void Do(T t)
  9. {
  10. std::cout << t;
  11. }
  12. };
  13.  
  14.  
  15. template<template<class> class F>
  16. void process()
  17. {
  18. F<int>::Do(64);
  19. }
  20.  
  21. int main()
  22. {
  23. process<FuncA>();
  24. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
64