fork download
  1. template<int, class T>
  2. class Vector{};
  3.  
  4. template<class V>
  5. class Integrator
  6. {};
  7.  
  8. template<class T>
  9. class SecondOrderODE
  10. {};
  11.  
  12. template<class T, class V = Vector<2, T>>
  13. class IntegratorSymplecticEuler : Integrator<V>
  14. {
  15. public:
  16. IntegratorSymplecticEuler(SecondOrderODE<T> *ode, double t, double h, V* y) {}
  17. };
  18.  
  19. int main()
  20. {
  21. IntegratorSymplecticEuler<double> ise(nullptr, 0.0, 0.0, nullptr);
  22. return 0;
  23. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty