Skip to content

JP006 20.7.4 p3 struct vs. class for variant_alternative #382

@jensmaurer

Description

@jensmaurer

Since the variant_alternative is a struct type, “class" in the following definition should be changed to “struct”.
template<size_t I, class T> class variant_alternative<I, const T>;

Change “class” to “struct” as follows:
template<size_t I, class T> struct variant_alternative<I, const T>;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions