centralized performance resources
This commit is contained in:
commit
50b15a1522
63 changed files with 328466 additions and 0 deletions
10
perf-cpp/scripts/conversion.cc
Normal file
10
perf-cpp/scripts/conversion.cc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <iostream>
|
||||
|
||||
void f(double) { std::cout << "double\n"; }
|
||||
void f(int) { std::cout << "long\n"; }
|
||||
|
||||
int main() {
|
||||
short x = 5;
|
||||
f(x); // Which one?
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue