Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inplace_function: Use a conditional macro to throw.
You can now use "inplace_function.h" with -fno-exceptions. The intended usage is #define SG14_INPLACE_FUNCTION_THROW(x) __builtin_unreachable() #include "inplace_function.h" Thanks to @AndWass for the patch! Fixes #152. Fixes #153.
- Loading branch information