Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix portability of IMMER_THROW when exceptions are disabled
The current implementation of IMMER_THROW when exceptions are disabled relies on the compiler converting a character array to a truthy value, which can throw warnings and is not truly portable. Instead, we can use the comma operator to portably add additional data to an assertion: https://en.cppreference.com/w/cpp/error/assert.
- Loading branch information