Run Code
|
API
|
Code Wall
|
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
34534
Graphs Iteration2 Directed Graphs
DESim Example
Class operator overloading the subscript and boundary check for array
regimeketopdfb
Alloc
hello world
Integer conversions
Enum flags operator example
C++ standard