Make non-top level declarations of typedef
valid
#2951
Labels
feature
Proposed language feature that solves one or more problems
typedef
valid
#2951
Currently, it is not possible to create a
typedef
not as a top-level entity. However, they could be useful as a class member (static or not), or in a function body.It is open to discussing how they should behave in classes, but it looks like it should be entirely possible to do the following:
The text was updated successfully, but these errors were encountered: