Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vitaut/_._

A simple streaming library
https://github.com/vitaut/_._

cpp hacktoberfest streams

Last synced: 3 months ago
JSON representation

A simple streaming library

Awesome Lists containing this project

README

        

# A simple streaming library

This library provides a convenient shorthand notation for using standard input and output streams.

Usage:

```c++
#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

```cmake
find_package(_._)
add_executable(app app.cc)
target_link_libraries(app _._)
```