30 #ifndef BIT_MEMORY_POLICIES_BOUNDS_CHECKERS_NULL_BOUNDS_CHECKER_HPP 31 #define BIT_MEMORY_POLICIES_BOUNDS_CHECKERS_NULL_BOUNDS_CHECKER_HPP 33 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 35 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 37 #include "../../utilities/allocator_info.hpp" 39 #include "../../concepts/BoundsChecker.hpp" 59 static constexpr std::size_t front_size = 0;
60 static constexpr std::size_t back_size = 0;
67 void prepare_front_fence(
void*, std::size_t ){}
68 void prepare_back_fence(
void*, std::size_t ){}
75 void check_front_fence(
const allocator_info&,
void*, std::size_t ){}
76 void check_back_fence(
const allocator_info&,
void*, std::size_t ){}
79 static_assert( is_bounds_checker_v<null_bounds_checker>,
80 "null_bounds_checker must satisfy BoundsChecker" );
This bounds checker performs no operation, and is intended to be used for non-debug variations of the...
This type is used to hold the generic information for a given allocator.