You can’t declare nested types outside the class definition.
If you need to use them outside the class, you will have to either include the class definition, or move them into a namespace.
You can’t declare nested types outside the class definition.
If you need to use them outside the class, you will have to either include the class definition, or move them into a namespace.