libdonut  2.3.2
Application framework for cross-platform game development in C++20
donut::Monostate Struct Reference

Unit type for representing an empty alternative in Variant. More...

#include <donut/Variant.hpp>

Detailed Description

Unit type for representing an empty alternative in Variant.

A Variant can use Monostate as its first alternative type to make sure that the variant type is default-constructible.


The documentation for this struct was generated from the following file: