I've come across this term POD-type a few times.
What does it mean?
C++ – What are POD types in C++
cc++-faqtypes
Related Topic
- C++ – What does the explicit keyword mean
- C++ – the “–>” operator in C/C++
- C++ – move semantics
- C++ – the copy-and-swap idiom
- C++ – The Rule of Three
- C++ – What are the basic rules and idioms for operator overloading
- C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming
- Java – Why is processing a sorted array faster than processing an unsorted array
Best Answer
POD stands for Plain Old Data - that is, a class (whether defined with the keyword
struct
or the keywordclass
) without constructors, destructors and virtual members functions. Wikipedia's article on POD goes into a bit more detail and defines it as:Greater detail can be found in this answer for C++98/03. C++11 changed the rules surrounding POD, relaxing them greatly, thus necessitating a follow-up answer here.