New answers tagged

2

std::is_standard_layout std::is_standard_layout_v<T> == true does not imply that an object is a POD-type. An object is a POD-type if it is both std::is_standard_layout_v<T> && std::is_trivial_v<T>. Here's an excellent summary. std::is_pod_v If you're using C++17, or an older standard, you can use std::is_pod_v<T> to determine ...


Top 50 recent answers are included