grantila / q

A platform-independent promise library for C++, implementing asynchronous continuations.
http://libq.io
Apache License 2.0
193 stars 24 forks source link

C++17 support for fn_match #24

Closed nholthaus closed 6 years ago

nholthaus commented 6 years ago

Adds noexcept specializations to fn_match to account for the exception specification becoming part of the type signature in c++17. The define allows the library to compile as-is when c++17 isn't supported.

Tested w/ MSVC 2017 and g++ 7.3.0

Fixes #17.