Boost C++ Libraries: Ticket #1823: Archive concept: Incomplete description? https://svn.boost.org/trac10/ticket/1823 <p> In the Archive concept documentation, it says that ar &amp; foo has the effect of appending the value of foo to the archive. I think this should be a stronger requirement: </p> <p> ar &amp; foo </p> <p> Does the same thing as &lt;&lt; (or &gt;&gt;) and has the effect of registering the typeof(foo) with the archive. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1823 Trac 1.4.3 Robert Ramey Mon, 14 Apr 2008 17:39:51 GMT <link>https://svn.boost.org/trac10/ticket/1823#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1823#comment:1</guid> <description> <p> I don't know for a fact that this is still the case. I think that I might have changed things so that derived polymorphic classes have to be registered explicity whether or not they are referred to by name. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <author>Sohail Somani <boost-trac@…></author> <pubDate>Mon, 14 Apr 2008 23:12:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1823#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1823#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1823#comment:1" title="Comment 1">ramey</a>: </p> <blockquote class="citation"> <p> I don't know for a fact that this is still the case. I think that I might have changed things so that derived polymorphic classes have to be registered explicity whether or not they are referred to by name. </p> </blockquote> <p> I'm not sure I understand. Are you saying that </p> <pre class="wiki">Derived d; ar &amp; d; </pre><p> does *not* register Derived? I can't imagine that is what you mean, but just want to be sure. </p> <p> Definitely the following should not register derived: </p> <pre class="wiki">Derived d; Base &amp; b(d); ar &amp; b; </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Tue, 15 Apr 2008 16:02:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1823#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1823#comment:3</guid> <description> <p> I'm not sure I understand. Are you saying that </p> <p> Derived d; ar &amp; d; does *not* register Derived? I can't imagine that is what you mean, but just want to be sure. </p> <p> That's what I'm saying. If I recall, the "side effect" created a problem with abstract classes or something. Unfortunately I forget. If you look at one of the earlier resolved trak items you might find it. I had to disable the "side effect" because it was causing this problem. </p> <p> Robert Ramey </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <author>Sohail Somani <boost-trac@…></author> <pubDate>Tue, 15 Apr 2008 17:23:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1823#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1823#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1823#comment:3" title="Comment 3">ramey</a>: </p> <blockquote class="citation"> <p> I'm not sure I understand. Are you saying that </p> <p> Derived d; ar &amp; d; does *not* register Derived? I can't imagine that is what you mean, but just want to be sure. </p> <p> That's what I'm saying. If I recall, the "side effect" created a problem with abstract classes or something. Unfortunately I forget. If you look at one of the earlier resolved trak items you might find it. I had to disable the "side effect" because it was causing this problem. </p> </blockquote> <p> Hmm. Can you take a look at the list here and see if you remember which one it was? I can't find it: </p> <p> <a class="ext-link" href="http://svn.boost.org/trac/boost/query?status=closed&amp;groupdesc=1&amp;group=component&amp;component=serialization&amp;order=id&amp;desc=1"><span class="icon">​</span>http://svn.boost.org/trac/boost/query?status=closed&amp;groupdesc=1&amp;group=component&amp;component=serialization&amp;order=id&amp;desc=1</a> </p> </description> <category>Ticket</category> </item> <item> <author>Sohail Somani <boost-trac@…></author> <pubDate>Mon, 21 Apr 2008 16:46:50 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1823#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1823#comment:5</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1823#comment:4" title="Comment 4">Sohail Somani &lt;boost-trac@taggedtype.net&gt;</a>: </p> <blockquote class="citation"> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1823#comment:3" title="Comment 3">ramey</a>: </p> <blockquote class="citation"> <p> I'm not sure I understand. Are you saying that </p> <p> Derived d; ar &amp; d; does *not* register Derived? I can't imagine that is what you mean, but just want to be sure. </p> <p> That's what I'm saying. If I recall, the "side effect" created a problem with abstract classes or something. Unfortunately I forget. If you look at one of the earlier resolved trak items you might find it. I had to disable the "side effect" because it was causing this problem. </p> </blockquote> <p> Hmm. Can you take a look at the list here and see if you remember which one it was? I can't find it: </p> <p> <a class="ext-link" href="http://svn.boost.org/trac/boost/query?status=closed&amp;groupdesc=1&amp;group=component&amp;component=serialization&amp;order=id&amp;desc=1"><span class="icon">​</span>http://svn.boost.org/trac/boost/query?status=closed&amp;groupdesc=1&amp;group=component&amp;component=serialization&amp;order=id&amp;desc=1</a> </p> </blockquote> <p> Ah, is it <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1267" title="#1267: Bugs: Assertion `new_cid == cid' failed in basic_iarchive (closed: fixed)">#1267</a> ? </p> </description> <category>Ticket</category> </item> <item> <author>Sohail Somani <boost-trac@…></author> <pubDate>Tue, 22 Apr 2008 00:15:57 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1823#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1823#comment:6</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1823#comment:3" title="Comment 3">ramey</a>: </p> <blockquote class="citation"> <p> I'm not sure I understand. Are you saying that </p> <p> Derived d; ar &amp; d; does *not* register Derived? I can't imagine that is what you mean, but just want to be sure. </p> <p> That's what I'm saying. If I recall, the "side effect" created a problem with abstract classes or something. Unfortunately I forget. If you look at one of the earlier resolved trak items you might find it. I had to disable the "side effect" because it was causing this problem. </p> </blockquote> <p> Just tried this in trunk. This seems to work so I am not sure if we are misunderstanding each other or not. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Sun, 08 Jun 2008 04:58:46 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1823#comment:7 https://svn.boost.org/trac10/ticket/1823#comment:7 <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">worksforme</span> </li> </ul> Ticket