Boost logo

Boost :

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:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at