Answers for "std::is_standard_layout"

C++
0

std::is_standard_layout

// note: applied recursively to all members
bool is_pod(T) { return is_standard_layout(T) && is_trivial(T); }
Posted by: Guest on October-31-2020

Browse Popular Code Answers by Language