Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PrintAddress
//clang 3.8.0 #include <iostream> struct Foo { int x; }; template <class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& operator<<(std::basic_ostream<_CharT, _Traits>& stream, const Foo& foo) { return stream << "Foo<" << &foo << ">"; } int main() { Foo foo; std::cout << foo; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
problem_name_4
std::reference_wrapper
C++ standard
template specialization inheritance solution
MPL 2-1
GetTypeName
tuple, order of members
Virtual Function Example
move_string
List comprehension in C++ using functional patterns
Please log in to post a comment.