The OpenD Programming Language

VariantN.AllowedTypes

The list of allowed types. If empty, any type is allowed.

import std.variant;
struct VariantN(size_t maxDataSize, AllowedTypesParam...)
alias AllowedTypes = This2Variant!(VariantN, AllowedTypesParam)

Meta