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

const_pointer_cast

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,57 sec, absolute service time: 1,6 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp(28): error C2662: 'void A::set(int)': cannot convert 'this' pointer from 'const A' to 'A &'
source_file.cpp(28): note: Conversion loses qualifiers
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64