Summing struct members inside a vector

后端 未结 5 992
闹比i
闹比i 2020-12-29 08:22

Consider the following:

typedef struct {
    int a;
    int b;
    int c;
    int d;
} ABCD;

typedef std::vector VecABCD;

Say

5条回答
提交回复
热议问题