|
24.02
|
The default implementation is the non-reference case. More...
#include <Optional.hpp>
Public Types | |
| using | Base = OptionalBase |
Public Member Functions | |
| OptionalReferenceSwitch () noexcept | |
| OptionalReferenceSwitch (EmptyOptional) noexcept | |
| OptionalReferenceSwitch (const T &value) | |
| template<class... Args> | |
| OptionalReferenceSwitch (ConstructInPlace, Args &&... args) | |
| OptionalReferenceSwitch (const OptionalReferenceSwitch &other) | |
| OptionalReferenceSwitch & | operator= (const T &value) |
| OptionalReferenceSwitch & | operator= (const OptionalReferenceSwitch &other) |
| OptionalReferenceSwitch & | operator= (EmptyOptional) |
| ~OptionalReferenceSwitch () | |
| void | reset () |
| const T & | value () const |
| T & | value () |
Public Member Functions inherited from OptionalBase | |
| OptionalBase () noexcept | |
| bool | has_value () const noexcept |
| operator bool () const noexcept | |
| Conversion to bool, so can be used in if-statements and similar contexts expecting a bool. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from OptionalBase | |
| OptionalBase (bool hasValue) noexcept | |
Protected Attributes inherited from OptionalBase | |
| bool | m_HasValue |
The default implementation is the non-reference case.
This has an unsigned char array for storing the optional value which is in-place constructed there.
Definition at line 81 of file Optional.hpp.
| using Base = OptionalBase |
Definition at line 84 of file Optional.hpp.
|
inlinenoexcept |
Definition at line 86 of file Optional.hpp.
|
inlinenoexcept |
Definition at line 87 of file Optional.hpp.
|
inline |
Definition at line 89 of file Optional.hpp.
|
inline |
Definition at line 96 of file Optional.hpp.
|
inline |
Definition at line 102 of file Optional.hpp.
|
inline |
Definition at line 132 of file Optional.hpp.
|
inline |
Definition at line 115 of file Optional.hpp.
|
inline |
Definition at line 108 of file Optional.hpp.
|
inline |
Definition at line 126 of file Optional.hpp.
|
inline |
Definition at line 137 of file Optional.hpp.
Referenced by OptionalReferenceSwitch< std::is_reference< arm::pipe::IProfilingService & >::value, arm::pipe::IProfilingService & >::operator=(), OptionalReferenceSwitch< true, T >::operator=(), OptionalReferenceSwitch< std::is_reference< arm::pipe::IProfilingService & >::value, arm::pipe::IProfilingService & >::~OptionalReferenceSwitch(), and OptionalReferenceSwitch< true, T >::~OptionalReferenceSwitch().
|
inline |
Definition at line 157 of file Optional.hpp.
|
inline |
Definition at line 146 of file Optional.hpp.
Referenced by ProfilingDetails::AddDetailsToString(), BackendRegistry::Deregister(), armnn::ExtractJsonObjects(), armnnUtils::GetPerAxisParams(), OptionalReferenceSwitch< std::is_reference< arm::pipe::IProfilingService & >::value, arm::pipe::IProfilingService & >::operator=(), OptionalReferenceSwitch< true, T >::operator=(), BackendRegistry::Register(), OptionalReferenceSwitch< std::is_reference< arm::pipe::IProfilingService & >::value, arm::pipe::IProfilingService & >::reset(), and armnnUtils::ToFloatArray().