In this document, the author said
Only a POD-type can be an argument for the ellipsis "..." while std::string is not a POD-type.
I'm understanding this as Passing NON-POD type to Variadic function is undefined behavior
. Is it right?
Though, is he saying C/C++ standard? I tried to find it at n3242 C++ spec. But can not find.
I'd like to know I'm understanding rightly and this is a standard.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…