Iros
 
Loading...
Searching...
No Matches
di::NonPropagatingCache< T > Class Template Reference

#include <di/util/non_propagating_cache.h>

Inheritance diagram for di::NonPropagatingCache< T >:
[legend]

Public Types

using Parent = Optional<T>
 

Public Member Functions

constexpr NonPropagatingCache (NonPropagatingCache const &)
 
constexpr NonPropagatingCache (NonPropagatingCache &&other)
 
template<concepts::ConvertibleTo< T > U>
constexpr auto operator= (U &&value) -> NonPropagatingCache &
 
constexpr auto operator= (NonPropagatingCache const &other) -> NonPropagatingCache &
 
constexpr auto operator= (NonPropagatingCache &&other) -> NonPropagatingCache &
 
template<typename I>
constexpr auto emplace_deref (I const &it) -> T &requires(
 

Public Attributes

return this emplace * it
 

Member Typedef Documentation

◆ Parent

template<concepts::Object T>
using di::util::NonPropagatingCache< T >::Parent = Optional<T>

Constructor & Destructor Documentation

◆ NonPropagatingCache() [1/2]

template<concepts::Object T>
di::util::NonPropagatingCache< T >::NonPropagatingCache ( NonPropagatingCache< T > const & )
inlineconstexpr

◆ NonPropagatingCache() [2/2]

template<concepts::Object T>
di::util::NonPropagatingCache< T >::NonPropagatingCache ( NonPropagatingCache< T > && other)
inlineconstexpr

Member Function Documentation

◆ emplace_deref()

template<concepts::Object T>
template<typename I>
auto di::util::NonPropagatingCache< T >::emplace_deref ( I const & it) -> T& requires(
inlineconstexpr

◆ operator=() [1/3]

template<concepts::Object T>
auto di::util::NonPropagatingCache< T >::operator= ( NonPropagatingCache< T > && other) -> NonPropagatingCache&
inlineconstexpr

◆ operator=() [2/3]

template<concepts::Object T>
auto di::util::NonPropagatingCache< T >::operator= ( NonPropagatingCache< T > const & other) -> NonPropagatingCache&
inlineconstexpr

◆ operator=() [3/3]

template<concepts::Object T>
template<concepts::ConvertibleTo< T > U>
auto di::util::NonPropagatingCache< T >::operator= ( U && value) -> NonPropagatingCache&
inlineconstexpr

Member Data Documentation

◆ it

template<concepts::Object T>
return this emplace* di::util::NonPropagatingCache< T >::it
Initial value:
{
this->reset()

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