VST 3 SDK: Optional< T > Struct Template Reference
Author: Steinberg

VST 3 SDK VST 3.7 SDK for developing VST plug-in

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
Public Member Functions | List of all members
Optional< T > Struct Template Reference

`#include <optional.h>`

## Public Member Functions
| Optional () noexcept
| Optional (const T &v) noexcept
| Optional (T &&v) noexcept
| Optional (Optional &&other) noexcept
Optional & | operator= (Optional &&other) noexcept
| operator bool () const noexcept
const T & | operator* () const noexcept
const T * | operator-> () const noexcept
T & | operator* () noexcept
T * | operator-> () noexcept
T && | value () noexcept
const T & | value () const noexcept
void | swap (T &other) noexcept

## Constructor & Destructor Documentation

Optional | ( |  | ) |
| inlinenoexcept

Optional | ( | const T & | v | ) |
| inlineexplicitnoexcept

Optional | ( | T && | v | ) |
| inlinenoexcept

Optional | ( | Optional< T > && | other | ) |
| inlinenoexcept

## Member Function Documentation

Optional& operator= | ( | Optional< T > && | other | ) |
| inlinenoexcept

operator bool | ( |  | ) | const
| inlineexplicitnoexcept

const T& operator* | ( |  | ) | const
| inlinenoexcept

const T* operator-> | ( |  | ) | const
| inlinenoexcept

T& operator* | ( |  | ) |
| inlinenoexcept

T* operator-> | ( |  | ) |
| inlinenoexcept

T&& value | ( |  | ) |
| inlinenoexcept

const T& value | ( |  | ) | const
| inlinenoexcept

void swap | ( | T & | other | ) |
| inlinenoexcept

Empty

Copyright ©2024 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.