There is a reflection group &quot;SG7&quot; in c++ committee dedicated to this. Some propositions have been done. I hope it will be ready for c++17.<p>Group discussions : <a href="https:&#x2F;&#x2F;groups.google.com&#x2F;a&#x2F;isocpp.org&#x2F;forum&#x2F;?fromgroups#!forum&#x2F;reflection" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;a&#x2F;isocpp.org&#x2F;forum&#x2F;?fromgroups#!fo...</a><p>One proposition : <a href="http:&#x2F;&#x2F;www.open-std.org&#x2F;jtc1&#x2F;sc22&#x2F;wg21&#x2F;docs&#x2F;papers&#x2F;2014&#x2F;n4113.pdf" rel="nofollow">http:&#x2F;&#x2F;www.open-std.org&#x2F;jtc1&#x2F;sc22&#x2F;wg21&#x2F;docs&#x2F;papers&#x2F;2014&#x2F;n411...</a>