fork download
  1. namespace Rose
  2. {
  3. template<typename T>
  4. struct RemoveReference
  5. {
  6. typedef T Type;
  7. };
  8.  
  9. template<typename T>
  10. struct RemoveReference<T &>
  11. {
  12. typedef T Type;
  13. };
  14. }
  15.  
  16. int main()
  17. {
  18. Rose::RemoveReference<int &>::Type a = 1;
  19. }
Success #stdin #stdout 0s 2824KB
stdin
Standard input is empty
stdout

Standard output is empty