mirror of
https://github.com/TartanLlama/expected.git
synced 2025-07-30 08:57:18 +02:00
Update expected.hpp
This commit is contained in:
@ -26,9 +26,11 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#if !defined(TL_ASSERT)
|
#if !defined(TL_ASSERT)
|
||||||
|
#if (__cplusplus > 201103L) //can't have assert in constexpr in C++11
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#define TL_ASSERT assert
|
#define TL_ASSERT assert
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__EXCEPTIONS) || defined(_CPPUNWIND)
|
#if defined(__EXCEPTIONS) || defined(_CPPUNWIND)
|
||||||
#define TL_EXPECTED_EXCEPTIONS_ENABLED
|
#define TL_EXPECTED_EXCEPTIONS_ENABLED
|
||||||
|
Reference in New Issue
Block a user