Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
Derivation of the 0x9E3779B97F4A7C17u constant
BucketSort
range based for loop temporary object lifetime issue example
return reference (clang)
test string
HTML Timetable generator.cpp
Tree Example
Initialise arrays with N number
Template Meta Programming
sort
Please log in to post a comment.