Subject: Re: [boost] Review Manager needed for the C++14 Reflections Library that works Without Macro nor Markup (ex magic_get)
From: Louis Dionne (ldionne.2_at_[hidden])
Date: 2016-10-20 09:12:22
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
used to avoid issues. But strictly speaking this is an Undefined Behavior.
How does C++17 fix the last point about UB?
-- View this message in context: http://boost.2283326.n4.nabble.com/Review-Manager-needed-for-the-C-14-Reflections-Library-that-works-Without-Macro-nor-Markup-ex-magic--tp4688876p4689062.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk