Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Blog 

C++ does not have reference-to-reference types

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.12 sec, absolute service time: 0,21 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp:7:11: error: 'refRefVal' declared as a reference to a reference
    int & &refRefVal = refVal;
          ^
1 error generated.

        

    
                
Advertise here.