Skip to content

Commit 426c97a

Browse files
committed
Update noexceptions macro
1 parent b93683d commit 426c97a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/beman/inplace_vector/inplace_vector.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
#define IV_EXPECT(EXPR)
2424

2525
#ifndef BEMAN_IV_THROW_OR_ABORT
26+
27+
#ifndef BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS
28+
#define BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS() 0
29+
#endif
30+
2631
#if BEMAN_INPLACE_VECTOR_NO_EXCEPTIONS()
2732
#include <cstdlib> // for abort
2833
#define BEMAN_IV_THROW_OR_ABORT(x) abort()

0 commit comments

Comments
 (0)