Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
overloading
//clang 3.8.0 #include <iostream> class Foo { }; class Bar { }; void play(Foo x) { std::cout << "Make a sandwich.\n"; } void play(Bar x) { std::cout << "Make an origami sculpture.\n"; } int main() { Foo y; Bar z; play(y); play(z); }
run
|
edit
|
history
|
help
0
Pure virtual function called!
Integer conversions
regimeketopdf
Rounding float to nearest 1000
CS1428 SI Tuesday
7
non-deduced context
C++ Standard Template Library
regex
Calculate H.C.F using recursion