A simple streaming library
This library provides a convenient shorthand notation for using standard input and output streams.
Usage:
#include <_._>
int main() {
// Pushing an object into a simple stream:
(_._) << "Hello World!\n";
// Pulling an object out of a simple stream:
int i;
(_._) >> i;
// Wide stream:
(__.__) >> i;
}
Alternatively, you can use (_*_)
instead of (_._)
.
CMake usage example
find_package(_._)
add_executable(app app.cc)
target_link_libraries(app _._)