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
Linker error while taking the address of a constexpr variable
Pascals Triangle
Array-Based Heap Example Starter Code
DESim Example Starter Code
SubsequenceArray
Print system time
mine
list iota cout
10226
mddd