ArmNN
 24.02
Optional.hpp File Reference
#include "Exceptions.hpp"
#include <cstring>
#include <type_traits>
Include dependency graph for Optional.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EmptyOptional
 EmptyOptional is used to initialize the Optional class in case we want to have default value for an Optional in a function declaration. More...
 
struct  ConstructInPlace
 Disambiguation tag that can be passed to the constructor to indicate that the contained object should be constructed in-place. More...
 
class  OptionalBase
 OptionalBase is the common functionality between reference and non-reference optional types. More...
 
class  OptionalReferenceSwitch< IsReference, T >
 The default implementation is the non-reference case. More...
 
class  OptionalReferenceSwitch< true, T >
 This is the special case for reference types. More...
 
class  Optional< T >
 

Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 

Macros

#define CONSTRUCT_IN_PLACE   armnn::ConstructInPlace{}
 

Functions

template<typename T , class... Args>
Optional< T > MakeOptional (Args &&... args)
 Utility template that constructs an object of type T in-place and wraps it inside an Optional<T> object. More...
 

Macro Definition Documentation

◆ CONSTRUCT_IN_PLACE

#define CONSTRUCT_IN_PLACE   armnn::ConstructInPlace{}

Definition at line 41 of file Optional.hpp.