Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C++ out of ref
#include <iostream> #include <vector> using namespace std; class Foo { int bar; int& getBar() { return bar; } }; int main() { vector<int> foo; int& bar = foo[0]; foo.push_back(1); bar = 100; std::cout << "Hello, world!\n" << bar << endl; }
run
|
edit
|
history
|
help
0
Random values and probability distribution
Standard Template Library
hw 1 os
Deleted special operations are propagated to derived class
Simple Generic Data Type Example
Math1
GraphBase
isnan_constexpr
pointer to pointer
khcmknhc