fork(1) download
  1. #include <iostream>
  2.  
  3. template<typename T>
  4. class GenericColor
  5. {
  6. };
  7.  
  8.  
  9. template<typename T>
  10. class RGB : public GenericColor<T>
  11. {
  12. public:
  13. HSV toHSV();
  14. };
  15.  
  16. class HSV : public GenericColor<double>
  17. {
  18. };
  19.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:13:2: error: ‘HSV’ does not name a type
  HSV toHSV();
  ^
stdout
Standard output is empty