Skip to content

Commit b14f438

Browse files
committed
remove extra note.
1 parent 004ded7 commit b14f438

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

standard/enums.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ enum_body
4646
4747
Each enum type has a corresponding integral type called the ***underlying type*** of the enum type. This underlying type shall be able to represent all the enumerator values defined in the enumeration. If the *enum_base* is present, it explicitly declares the underlying type. The underlying type shall be one of the *integral types* ([§8.3.6](types.md#836-integral-types)) other than `nint`, `nuint`, and `char`. The underlying type may be specified either by an `integral_type` ([§8.3.5](types.md#835-simple-types)), or an `integral_type_name`. The `integral_type_name` is resolved in the same way as `type_name` ([§7.8.1](basic-concepts.md#781-general)), including taking any using directives ([§14.5](namespaces.md#145-using-directives)) into account.
4848

49-
> *Note*: The `char` type cannot be used as an underlying type, either by keyword or via an `integral_type_name`. *end note*
50-
5149
An enum declaration that does not explicitly declare an underlying type has an underlying type of `int`.
5250

5351
> *Example*: The example

0 commit comments

Comments
 (0)