Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Access namespace by unqualified manner
//clang 3.8.0 #include <iostream> using namespace std; namespace myNsp { int mult(int a,int b){ return a*b; } }; int main() { using namespace myNsp; cout<<mult(8,7); return 0; }
run
|
edit
|
history
|
help
0
std::99 bottles of beer!
HTML Timetable generator.cpp
auto Keyword Example
Throttle Example (Send two requests every two seconds)
Class operator overloading the subscript and boundary check for array
DESim Example Starter Code
ljblblljkl
HerbSutter-Virtuality
std::function copies
EBO