cmake update

This commit is contained in:
Markus F.X.J. Oberhumer
2023-11-13 11:29:17 +01:00
parent dc23ee0ad2
commit c479fe32b3
7 changed files with 98 additions and 59 deletions
+4 -4
View File
@@ -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