|
tenno 0.1.0
|
A reference wrapper class. More...
#include <functional.hpp>
Public Types | |
| using | type = T |
Public Member Functions | |
| constexpr | reference_wrapper (T &&x) noexcept |
| Construct a new reference wrapper object. | |
| constexpr | reference_wrapper () noexcept |
| constexpr | reference_wrapper (const reference_wrapper &other) noexcept |
| reference_wrapper & | operator= (const reference_wrapper &other) noexcept |
| constexpr | operator T& () const noexcept |
| constexpr T & | ref () const noexcept |
| constexpr bool | operator== (const T &&other) const noexcept |
| constexpr bool | operator!= (const T &&other) const noexcept |
A reference wrapper class.
This class is a wrapper around a reference to an object. It is useful when you need to store a reference in a container, for example.
| T |
Definition at line 20 of file functional.hpp.
| using tenno::reference_wrapper< T >::type = T |
Definition at line 23 of file functional.hpp.
|
inlineconstexprnoexcept |
Construct a new reference wrapper object.
| x |
Definition at line 29 of file functional.hpp.
|
inlineconstexprnoexcept |
Definition at line 33 of file functional.hpp.
|
inlineconstexprnoexcept |
Definition at line 37 of file functional.hpp.
|
inlineconstexprnoexcept |
Definition at line 48 of file functional.hpp.
|
inlineconstexprnoexcept |
Definition at line 63 of file functional.hpp.
|
inlinenoexcept |
Definition at line 42 of file functional.hpp.
|
inlineconstexprnoexcept |
Definition at line 58 of file functional.hpp.
|
inlineconstexprnoexcept |
Definition at line 53 of file functional.hpp.