Closed Gei0r closed 4 years ago
Thanks, I generated a new amalgamation for 4.0.0: https://gist.githubusercontent.com/Naios/25d731aa4707d35a9bcec507f3cb9038/raw/051d2ea07b6704893c7fc9844e8d1c105c6821e0/continuable.hpp
I'm going to link it into the documentation.
Just as note: The amalgamation header only contains the headers that require the C+ standard library and function2 which is included as part of the header. The include/continuable/external/
headers which extend (boost) asio and GTest are not included.
can we get one for 4.1.0
?
I would also prefer it if the headers used relative includes so it's use was not dependent on a -I
compiler flag, or env var, eg.:
in continuable_base.hpp
:
#include "continuable-primitives.hpp"
#include "continuable-result.hpp"
If you like, you can create an amalgamation that fits your needs:
I think it uses this tool: https://github.com/edlund/amalgamate
The shell script is located in: tools/amalgamate/amalgamate.sh
Simply running this script should be enough to create the header, you can tweak it to fit your needs afterwards.
i have tried doing this, but i can't get it to work. it wowuld be great if someone could post an amalgamation of the most recent release on here.
@Naios
Congratulations on release 4.0.0, the changes look really useful. Get's a feeling of javascript's
Promise
andasync/await
into C++!Anyway, can you please provide an amalgamation for release 4.0.0 and link it in the documentation?