1#pragma once
2
3namespace duckdb {
4
5template <bool ENABLED>
6struct MemorySafety {
7#ifdef DEBUG
8 // In DEBUG mode safety is always on
9 static constexpr bool enabled = true;
10#else
11 static constexpr bool enabled = ENABLED;
12#endif
13};
14
15} // namespace duckdb
16