I know in C++11 they added the feature to initialize a variable to zero as such
double number = {}; // number = 0
int data{}; // data = 0
Is there a similar way to initialize a std::vector
of a fixed length to all zero's?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…