mrdocs::is_null

is_null helper that uses nullable_traits<T> if available.

Synopsis

Declared in <mrdocs/ADT/Nullable.hpp>

template<has_nullable_traits_v T>
bool
is_null(T const& v) noexcept(noexcept(nullable_traits<T>::is_null(v)));

Return Value

true if v is null, false otherwise.

Parameters

Name Description

v

The value to test for null.

Created with MrDocs