fork download
  1. struct A{};
  2.  
  3. struct B{
  4. template<class T = A>
  5. void foo(){}
  6. };
  7.  
  8. int main()
  9. {
  10. B b;
  11. b.foo();
  12. }
  13.  
Success #stdin #stdout 0s 2880KB
stdin
Standard input is empty
stdout

Standard output is empty