|
25.11
|
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. | |
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< T >::value, T >::operator=(), OptionalReferenceSwitch< std::is_reference< T >::value, T >::operator=(), OptionalReferenceSwitch< std::is_reference< T >::value, T >::operator=(), OptionalReferenceSwitch< true, T >::operator=(), OptionalReferenceSwitch< std::is_reference< T >::value, T >::~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(), NetworkImpl::AddPrecompiledLayer(), NetworkImpl::AddTransposeConvolution2dLayer(), armnn::CheckSupportRule(), armnn::ClConvolution2dWorkloadValidate(), armnn::ClConvolution3dWorkloadValidate(), armnn::ClDepthwiseConvolutionWorkloadValidate(), armnn::ClFullyConnectedWorkloadValidate(), armnn::ClTransposeConvolution2dWorkloadValidate(), armnnOnnxParser::CreateConstTensorImpl(), armnn::ExtractJsonObjects(), armnn::GetBiasTypeFromWeightsType(), armnnUtils::GetPerAxisParams(), LayerSupportHandle::IsBroadcastToSupported(), LayerSupportHandle::IsConvolution2dSupported(), RefLayerSupport::IsConvolution2dSupported(), LayerSupportHandle::IsConvolution3dSupported(), RefLayerSupport::IsConvolution3dSupported(), LayerSupportHandle::IsDepthwiseConvolutionSupported(), RefLayerSupport::IsDepthwiseConvolutionSupported(), LayerSupportHandle::IsDilatedDepthwiseConvolutionSupported(), LayerSupportHandle::IsFullyConnectedSupported(), ClLayerSupport::IsLayerSupported(), NeonLayerSupport::IsLayerSupported(), RefLayerSupport::IsLayerSupported(), TosaRefLayerSupport::IsLayerSupported(), armnn::IsLayerTypeSupported(), LayerSupportBase::IsStandInSupported(), LayerSupportHandle::IsTransposeConvolution2dSupported(), RefLayerSupport::IsTransposeConvolution2dSupported(), armnn::NeonConvolution2dWorkloadValidate(), armnn::NeonConvolution3dWorkloadValidate(), armnn::NeonDepthwiseConvolutionWorkloadValidate(), armnn::NeonFullyConnectedWorkloadValidate(), armnn::NeonTransposeConvolution2dWorkloadValidate(), OptionalReferenceSwitch< std::is_reference< T >::value, T >::operator=(), Optional< T >::operator==(), OptionalReferenceSwitch< std::is_reference< T >::value, T >::reset(), armnn::SetValueChecked(), armnnUtils::ToFloatArray(), IBackendInternal::UseCustomMemoryAllocator(), Convolution2dQueueDescriptor::Validate(), Convolution3dQueueDescriptor::Validate(), DepthwiseConvolution2dQueueDescriptor::Validate(), and TransposeConvolution2dQueueDescriptor::Validate().