This version of msngr is written in C++ and designed to handle messaging interal to your application.
You'll need a C++ compiler capable of at least C++ 14 with STL experiments (needed for std::optional
). Beyond that, msngr.cpp is a header only library so you shouldn't need much else.
- Copy
msngr.hpp
to your include directory - Reference
msngr.hpp
- Compile with a C++17 capable compiler. Some compilers, like
g++
, may require passing the flag-std=gnu++1y
to compile correctly.
This current version is a very early, prerelease version of msngr. This means its capabilities are extremely limited and likely prone to bugs. Your milage may very.
See the main.cpp
file for usage examples.
If you have gcc installed then g++ src/main.cpp -std=gnu++1y -o msngr && ./msngr
should do the trick.