API Reference > Namespaces > not_std Namespace > Classes > optional Template
optional Template
not_std__optional
Syntax
C++
template <class T> class optional;

optional.h

This is class not_std::optional.

 
Name 
Description 
 
This is ~optional, a member of class optional. 
 
This is optional, a member of class optional. 
 
This is optional, a member of class optional. 
 
This is optional, a member of class optional. 
 
This is optional, a member of class optional. 
 
Name 
Description 
 
swap 
This is swap, a member of class optional. 
 
This is value, a member of class optional. 
 
This is value, a member of class optional. 
 
This is value_or, a member of class optional. 
Name 
Description 
This is nested type not_std::optional::value_type. 
 
Name 
Description 
 
* 
This is *, a member of class optional. 
 
* 
This is *, a member of class optional. 
 
= 
This is =, a member of class optional. 
 
= 
This is =, a member of class optional. 
 
= 
This is =, a member of class optional. 
 
-> 
This is ->, a member of class optional. 
 
-> 
This is ->, a member of class optional. 
 
bool 
This is bool, a member of class optional. 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.