As a type alias

suggest change

Unnamed class types may also be used when creating type aliases, i.e. via typedef and using:

using vec2d = struct {
    float x;
    float y;
typedef struct {
    float x;
    float y;
} vec2d;
vec2d pt;
pt.x = 4.f;
pt.y = 3.f;

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents