Structs§
- AsVariantTemporary stores a value of type T to allow construction of a Variant value via type inference. Because T is copied and there’s no guarantee that the copy can be elided, AsVariantTemporary is best used with primitive or very small types.
- LinkedList supports refcounted elements using this adapter class. Clients using LinkedList<RefPtr
> will get a data structure that holds a strong reference to T as long as T is in the list. - SelectVariantType takes a type T and a list of variant types Variants and yields a type Type, selected from Variants, that can store a value of type T or a reference to type T. If no such type was found, Type is not defined. SelectVariantType also has a
count
member that contains the total number of selectable types (which will be used to check that a requested type is not ambiguously present twice.) - SelectVariantTypeHelper is used in the implementation of SelectVariantType.
Enums§
Type Aliases§
- UniquePtr is a smart pointer that wholly owns a resource. Ownership may be transferred out of a UniquePtr through explicit action, but otherwise the resource is destroyed when the UniquePtr is destroyed.