Zserio C++ runtime library  1.1.0
Built for Zserio 2.15.0
OptionalHolder.h File Reference
#include <cstddef>
#include <type_traits>
#include "zserio/CppRuntimeException.h"
#include "zserio/NoInit.h"
#include "zserio/Types.h"
#include "zserio/UniquePtr.h"

Go to the source code of this file.

Classes

struct  zserio::NullOptType
 
struct  zserio::InPlaceT
 

Namespaces

 zserio
 

Typedefs

template<typename T >
using zserio::InplaceOptionalHolder = detail::inplace_optional_holder< T >
 
template<typename T , typename ALLOC = std::allocator<T>>
using zserio::HeapOptionalHolder = detail::heap_optional_holder< T, ALLOC >
 

Variables

constexpr NullOptType zserio::NullOpt {int()}
 
constexpr InPlaceT zserio::InPlace {}