Boost C++ Libraries: Ticket #3824: boost introspection incomplete for user-types https://svn.boost.org/trac10/ticket/3824 <p> Given the following structure: </p> <pre class="wiki">struct B {}; typedef B type_; struct A { type_ name; }; BOOST_HAS_MEMBER_DATA(type_, name) </pre><p> If type_ is B result is always false. B* works, as well as integral types. I don't know why it doesn't work because if you try to instantiate a template of given type. </p> <p> eg, the following compiles fine with type_ = B </p> <pre class="wiki">template &lt;type_ A::*&gt; struct type{}; type&lt;&amp;A::name&gt;*; </pre><p> Note: I do not use the typedef shortcut, it is just for exemplary purposes, but substituting the type itself doesn't work either. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3824 Trac 1.4.3 farago1@… Wed, 06 Jan 2010 08:26:41 GMT <link>https://svn.boost.org/trac10/ticket/3824#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3824#comment:1</guid> <description> <p> Above compiler is MSVC2008. GCC 4.4.1 works correctly. I am downloading MSVC2010 beta now and report on that soon. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 06 Jan 2010 09:58:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3824#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3824#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3824#comment:1" title="Comment 1">farago1@…</a>: </p> <blockquote class="citation"> <p> Above compiler is MSVC2008. GCC 4.4.1 works correctly. I am downloading MSVC2010 beta now and report on that soon. </p> </blockquote> <p> MSVC2010 beta doesn't work either. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sat, 27 Feb 2010 00:47:56 GMT</pubDate> <title>component changed https://svn.boost.org/trac10/ticket/3824#comment:3 https://svn.boost.org/trac10/ticket/3824#comment:3 <ul> <li><strong>component</strong> <span class="trac-field-old">any</span> → <span class="trac-field-new">None</span> </li> </ul> Ticket viboes Mon, 07 Jun 2010 15:16:14 GMT <link>https://svn.boost.org/trac10/ticket/3824#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3824#comment:4</guid> <description> <p> I have no BOOST_HAS_MEMBER_DATA. What is the real defect and on which component? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 14 Jun 2010 20:38:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3824#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3824#comment:5</guid> <description> <p> probably introspection library in the sandbox. not a boost library and looks abandonded to me. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 29 Nov 2010 15:40:59 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3824#comment:6 https://svn.boost.org/trac10/ticket/3824#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> Please don't report bugs or new features on components that are not part of Boost. </p> Ticket