kblib 0.2.3
General utilities library for modern C++
kblib::heap_value2< T, D > Class Template Reference

#include <kblib/fakestd.h>

Inheritance diagram for kblib::heap_value2< T, D >:
Collaboration diagram for kblib::heap_value2< T, D >:

Public Types

using reference = decltype(*std::declval< pointer >())
 
using const_reference = const element_type &
 

Public Member Functions

 heap_value2 (const heap_value2 &other)
 
heap_value2operator= (const heap_value2 &other)
 
auto value () &noexcept -> reference
 
auto value () const &noexcept -> const_reference
 
auto value () &&noexcept -> element_type &&
 
auto value () const &&noexcept -> const element_type &&
 
 ~heap_value2 ()=default
 

Detailed Description

template<typename T, typename D>
class kblib::heap_value2< T, D >

Definition at line 1233 of file fakestd.h.

Member Typedef Documentation

◆ const_reference

template<typename T , typename D >
using kblib::heap_value2< T, D >::const_reference = const element_type&

Definition at line 1241 of file fakestd.h.

◆ reference

template<typename T , typename D >
using kblib::heap_value2< T, D >::reference = decltype(*std::declval<pointer>())

Definition at line 1240 of file fakestd.h.

Constructor & Destructor Documentation

◆ heap_value2()

template<typename T , typename D >
kblib::heap_value2< T, D >::heap_value2 ( const heap_value2< T, D > &  other)

◆ ~heap_value2()

template<typename T , typename D >
kblib::heap_value2< T, D >::~heap_value2 ( )
default

Member Function Documentation

◆ operator=()

template<typename T , typename D >
heap_value2 & kblib::heap_value2< T, D >::operator= ( const heap_value2< T, D > &  other)

◆ value() [1/4]

template<typename T , typename D >
auto kblib::heap_value2< T, D >::value ( ) && -> element_type&&
inlinenoexcept

Definition at line 1263 of file fakestd.h.

◆ value() [2/4]

template<typename T , typename D >
auto kblib::heap_value2< T, D >::value ( ) & -> reference
inlinenoexcept

Definition at line 1259 of file fakestd.h.

◆ value() [3/4]

template<typename T , typename D >
auto kblib::heap_value2< T, D >::value ( ) const && -> const element_type&&
inlinenoexcept

Definition at line 1264 of file fakestd.h.

◆ value() [4/4]

template<typename T , typename D >
auto kblib::heap_value2< T, D >::value ( ) const & -> const_reference
inlinenoexcept

Definition at line 1260 of file fakestd.h.


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