kblib 0.2.3
General utilities library for modern C++
kblib::exists_t< iterator > Struct Template Reference

#include <kblib/containers.h>

Public Member Functions

constexpr operator bool () const noexcept
 
constexpr auto operator* () const noexcept(noexcept(*it)) -> decltype(*it)
 
constexpr auto operator-> () const noexcept -> iterator
 
constexpr auto addr () const noexcept -> auto *
 

Public Attributes

iterator it
 
bool found
 

Detailed Description

template<typename iterator>
struct kblib::exists_t< iterator >

Definition at line 77 of file containers.h.

Member Function Documentation

◆ addr()

template<typename iterator >
constexpr auto kblib::exists_t< iterator >::addr ( ) const -> auto*
inlineconstexprnoexcept

Definition at line 88 of file containers.h.

◆ operator bool()

template<typename iterator >
constexpr kblib::exists_t< iterator >::operator bool ( ) const
inlineconstexprnoexcept

Definition at line 80 of file containers.h.

◆ operator*()

template<typename iterator >
constexpr auto kblib::exists_t< iterator >::operator* ( ) const -> decltype(*it)
inlineconstexprnoexcept

Definition at line 81 of file containers.h.

◆ operator->()

template<typename iterator >
constexpr auto kblib::exists_t< iterator >::operator-> ( ) const -> iterator
inlineconstexprnoexcept

Definition at line 85 of file containers.h.

Member Data Documentation

◆ found

template<typename iterator >
bool kblib::exists_t< iterator >::found

Definition at line 79 of file containers.h.

◆ it

template<typename iterator >
iterator kblib::exists_t< iterator >::it

Definition at line 78 of file containers.h.


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