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

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() [1/4]

Optional | ( |  | ) |
| inline noexcept

## ◆ Optional() [2/4]

Optional | ( | const T & | v | ) |
| inline explicit noexcept

## ◆ Optional() [3/4]

Optional | ( | T && | v | ) |
| inline noexcept

## ◆ Optional() [4/4]

Optional | ( | Optional< T > && | other | ) |
| inline noexcept

## Member Function Documentation

## ◆ operator=()

Optional & operator= | ( | Optional< T > && | other | ) |
| inline noexcept

## ◆ operator bool()

operator bool | ( |  | ) | const
| inline explicit noexcept

## ◆ operator*() [1/2]

const T & operator* | ( |  | ) | const
| inline noexcept

## ◆ operator->() [1/2]

const T * operator-> | ( |  | ) | const
| inline noexcept

## ◆ operator*() [2/2]

T & operator* | ( |  | ) |
| inline noexcept

## ◆ operator->() [2/2]

T * operator-> | ( |  | ) |
| inline noexcept

## ◆ value() [1/2]

T && value | ( |  | ) |
| inline noexcept

## ◆ value() [2/2]

const T & value | ( |  | ) | const
| inline noexcept

## ◆ swap()

void swap | ( | T & | other | ) |
| inline noexcept

Empty

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