20 Oct
2016
20 Oct
'16
1:12 p.m.
Quick question: In the documentation, you say
C++14 limitations (C++17 fixes those): * T must be POD and must not contain references nor bitfields * T must not contain pointers to user defined types Enums will be returned as their underlying type All the methods that provide access to filds have a reinterpret_cast to an unrelated type. All the possible efforts and compiler scpecific tricks were used to avoid issues. But strictly speaking this is an Undefined Behavior.
How does C++17 fix the last point about UB? Regards, Louis -- View this message in context: http://boost.2283326.n4.nabble.com/Review-Manager-needed-for-the-C-14-Reflec... Sent from the Boost - Dev mailing list archive at Nabble.com.