cmake update
This commit is contained in:
+4
-4
@@ -36,14 +36,14 @@
|
||||
|
||||
#if WITH_XSPAN
|
||||
|
||||
// automatic conversion to underlying pointer; do NOT enable this config as this
|
||||
// Automatic conversion to underlying pointer; do NOT enable this config as this
|
||||
// defeats the main purpose of a checked pointer => use raw_bytes() as needed;
|
||||
// and see xspan_fwd.h how to make this more convenient
|
||||
// and see xspan_fwd.h how to make this more convenient.
|
||||
#ifndef XSPAN_CONFIG_ENABLE_IMPLICIT_CONVERSION
|
||||
#define XSPAN_CONFIG_ENABLE_IMPLICIT_CONVERSION 0
|
||||
#endif
|
||||
// allow automatic conversion PtrOrSpanOrNull => PtrOrSpan => Span (with run-time checks)
|
||||
// choose between compile-time safety vs. possible run-time exceptions
|
||||
// Allow automatic conversion PtrOrSpanOrNull => PtrOrSpan => Span (with run-time checks).
|
||||
// Choose between compile-time safety vs. possible run-time exceptions.
|
||||
#ifndef XSPAN_CONFIG_ENABLE_SPAN_CONVERSION
|
||||
#define XSPAN_CONFIG_ENABLE_SPAN_CONVERSION 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user