• Stars
    star
    131
  • Rank 274,575 (Top 6 %)
  • Language CMake
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple streaming library

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 _._)