avcpp 3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
Loading...
Searching...
No Matches
av::SentinelEndPolicy< T > Struct Template Reference

Sentinel policy that defines well-known range end pointer.

#include <avutils.h>

Public Types

using value_type = std::remove_reference_t<T>
 Type of the range elements.

Public Member Functions

constexpr bool isEnd (T *it) const noexcept
 Whether the iterator reached the end pointer.

Public Attributes

value_type * end {}
 Pointer that marks the end of the range.

Member Function Documentation

◆ isEnd()

template<class T>
bool av::SentinelEndPolicy< T >::isEnd ( T * it) const
inlineconstexprnoexcept
Parameters
itthe iterator to test
Returns
true when it equals the stored end

The documentation for this struct was generated from the following file: