Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
prototype match
#include <iostream> struct Base { virtual ~Base() = default; }; struct Derived : public Base { }; template<class T1, class T2> void foo(T1 *, T2) { std::cout << 1 << std::endl; } void foo(Base *, int) { std::cout << 2 << std::endl; } int main() { Derived a; foo(&a, 55669487); return 0; }
run
|
edit
|
history
|
help
0
project
collection Hetero
mutable constexpr
RecursiveFact
Two-phase sample with GCC
Complex Number Class
MergeSort
Base File.cpp
Namespace
Zahra_matrix