Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.13k
stars
93
forks
source link
static_if_impl has to be replaced with if constexpr #204
There is a workaround for absence of
if constexpr
in C++14 in the form ofstatic_if_impl
. This workaround is now used here: https://github.com/Stiffstream/restinio/blob/1f95dbc72b94b575d1b860f569fe85511a1fff15/dev/restinio/impl/response_coordinator.hpp#L98The
static_if_impl
has to be replaced withif constexpr
because RESTinio is now C++17 library.