mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
FASTFLOAT_ASSUME
This commit is contained in:
parent
b261492ae7
commit
a133b72fa8
@ -197,12 +197,12 @@ using parse_options = parse_options_t<char>;
|
||||
|
||||
#ifndef FASTFLOAT_ASSERT
|
||||
#define FASTFLOAT_ASSERT(x) \
|
||||
{ ((void)(x)); }
|
||||
{ ((void)(x)); FASTFLOAT_ASSUME(x); }
|
||||
#endif
|
||||
|
||||
#ifndef FASTFLOAT_DEBUG_ASSERT
|
||||
#define FASTFLOAT_DEBUG_ASSERT(x) \
|
||||
{ ((void)(x)); }
|
||||
{ ((void)(x)); FASTFLOAT_ASSUME(x); }
|
||||
#endif
|
||||
|
||||
// rust style `try!()` macro, or `?` operator
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user