Concept that checks if a type is a valid null count policy.
More...
#include <null_count_policy.hpp>
template<typename P>
{ P::track_null_count } -> std::convertible_to<bool>;
{ p.update_null_count(b, b) } -> std::same_as<void>;
{ p.swap_null_count(other) } -> std::same_as<void>;
{ p.clear_null_count() } -> std::same_as<void>;
{ p.set_null_count(s) } -> std::same_as<void>;
{ p.initialize_null_count(data, s, s) } -> std::same_as<void>;
{ p.recompute_null_count(data, s, s) } -> std::same_as<void>;
}
Concept that checks if a type is a valid null count policy.
Concept that checks if a type is a valid null count policy.
A valid policy must:
- Have a static constexpr bool member 'track_null_count'
- Provide update_null_count(bool, bool), swap(), clear(), set_null_count(), initialize(), and recompute() methods
Definition at line 209 of file null_count_policy.hpp.