Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ADL of operator expression & unqualified function call
#include <iostream> struct X { void operator*() const { std::cout << "#1" << std::endl; } }; struct Y { Y(X) {} }; void f(Y) {std::cout << "f(Y)" << std::endl;} template<int> void g() { *X{}; f(X{}); } void f(X) {std::cout << "f(X)" << std::endl;} void operator*(X&&) { std::cout << "#2" << std::endl; } int main() { g<0>(); }
run
|
edit
|
history
|
help
0
Full System Specifications version 3
throwing std::function on MSVC is dangerous
map_file_mangling
For NULL-embedded strings, CStringT::Find() produces what you may not expect
accessibility on in-class typedefs
assaa
Permute
Kare-Küp Tablosu
Workaround for https://github.com/Project-OSRM/osrm-backend/pull/4385
jkljklj