|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Tagged storage for one of two possible value types. More...
#include <src/utility.h>
Public Member Functions | |
| constexpr bool | has_left () const |
| Check whether left. | |
| constexpr bool | has_right () const |
| Check whether right. | |
| X & | left () |
| Return the left-hand alternative held by the variant. | |
| const X & | left () const |
| Return the left-hand alternative held by the variant. | |
| Y & | right () |
| Return the right-hand alternative held by the variant. | |
| const Y & | right () const |
| Return the right-hand alternative held by the variant. | |
Tagged storage for one of two possible value types.
|
inlineconstexpr |
Check whether left.
|
inlineconstexpr |
Check whether right.
|
inline |
Return the left-hand alternative held by the variant.
|
inline |
Return the left-hand alternative held by the variant.
|
inline |
Return the right-hand alternative held by the variant.
|
inline |
Return the right-hand alternative held by the variant.