Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
const_cast
//g++ 7.4.0 #include <iostream> void pr(const int& x) { ++const_cast<int&>(x); std::cout<<"x = "<<x<<"\n"; } int main() { std::cout << "Hello, world!\n"; int y=5; pr(y); std::cout<<"y = "<<y<<"\n"; }
run
|
edit
|
history
|
help
0
SEJM BLURWA
mutable constexpr
Full System Specifications
ONP
Test 5(2020)
Subarray with 0 sum
Listas enlazadas - dividir lista en dos reutilizando nodos
BinomialPoisson
typename T class T
Stack