fork download
  1. template <typename T>
  2. struct cmplx {
  3. T operator/(cmplx& c);
  4. };
  5.  
  6. template<typename T>
  7. T cmplx<T>::operator/(cmplx<T>& c)
  8. {
  9.  
  10. }
  11.  
  12. int main()
  13. {
  14. cmplx<int> a, b;
  15. int x = a / b;
  16. }
  17.  
Success #stdin #stdout 0.01s 2720KB
stdin
Standard input is empty
stdout
Standard output is empty