1#ifndef SANISIZER_PTRDIFF_HPP
2#define SANISIZER_PTRDIFF_HPP
19template<
typename Iterator_,
typename MaxDiff_>
20constexpr bool can_ptrdiff(MaxDiff_ max_diff) {
21 typedef I<decltype(std::declval<Iterator_>() - std::declval<Iterator_>())> Diff;
Create compile-time attestations.
Sanitize sizes to avoid integer overflow.
Definition arithmetic.hpp:16
constexpr bool check_overflow(Value_ x)
Definition attest.hpp:178