I've run into an issue where VS 2013, and likely earlier versions, fail to serialize a shared_ptr because Visual Studio is choking on the use of ar.template get_helper in load() to remove ambiguity. The issue appears to replicate previous bug report here: https://svn.boost.org/trac/boost/ticket/10727 That report didn't post an example, so instead of adding a new bug, I've posted example code to that existing report. VS 2013 Boost 1.57 Jared McIntyre
On Wed, Apr 8, 2015 at 9:06 AM, Jared McIntyre
I've run into an issue where VS 2013, and likely earlier versions, fail to serialize a shared_ptr because Visual Studio is choking on the use of ar.template get_helper in load() to remove ambiguity. The issue appears to replicate previous bug report here:
https://svn.boost.org/trac/boost/ticket/10727
That report didn't post an example, so instead of adding a new bug, I've posted example code to that existing report.
VS 2013 Boost 1.57
Jared McIntyre
Oops, I posted the wrong bug link. I meant that it reproduces this bug: https://svn.boost.org/trac/boost/ticket/10703 I tested this out with 1.58rc3 and the issue continue to be there. I may have accidentally posted the wrong bug to this email, but the issues with polymorphic archives and serializing shared_ptr that are in that bug report don't appear to be fixed in 1.58rc3 either. Thanks for looking into this, Jared McIntyre
thePoet wrote
I may have accidentally posted the wrong bug to this email, but the issues with polymorphic archives and serializing shared_ptr that are in that bug report don't appear to be fixed in 1.58rc3 either.
I've come to understand that there are/were two issues. I didn't realize that one was associated with helpers and polymorphic archives- which is a combination not found in my test suite. Good news is that believe that I'm on the way to fixing the problem. Robert Ramey -- View this message in context: http://boost.2283326.n4.nabble.com/Serializing-shared-ptr-fails-on-template-... Sent from the Boost - Dev mailing list archive at Nabble.com.
On Thu, Apr 9, 2015 at 9:54 PM, Robert Ramey
thePoet wrote
I may have accidentally posted the wrong bug to this email, but the issues with polymorphic archives and serializing shared_ptr that are in that bug report don't appear to be fixed in 1.58rc3 either.
I've come to understand that there are/were two issues. I didn't realize that one was associated with helpers and polymorphic archives- which is a combination not found in my test suite.
Good news is that believe that I'm on the way to fixing the problem.
Robert Ramey
Robert, have you had a chance to look into this issue any further? Jared
On 7/14/15 8:05 AM, Jared McIntyre wrote:
On Thu, Apr 9, 2015 at 9:54 PM, Robert Ramey
wrote: thePoet wrote
I may have accidentally posted the wrong bug to this email, but the issues with polymorphic archives and serializing shared_ptr that are in that bug report don't appear to be fixed in 1.58rc3 either.
I've come to understand that there are/were two issues. I didn't realize that one was associated with helpers and polymorphic archives- which is a combination not found in my test suite.
Good news is that believe that I'm on the way to fixing the problem.
Robert Ramey
Robert, have you had a chance to look into this issue any further?
Hmmm - if I haven't fixed it yet, it's because I've been busy with other stuff. On the other hand, I don't remember what the issue was (I'm hoping/assuming it's an open trac item. When I have some time I'll spend it serialization library maintenance which includes trac items, clarification of support and testing for C++11/14 and other enhancements. Robert Ramey
On 2015-07-14 17:35, Robert Ramey wrote:
On 7/14/15 8:05 AM, Jared McIntyre wrote:
On Thu, Apr 9, 2015 at 9:54 PM, Robert Ramey
wrote: thePoet wrote
I may have accidentally posted the wrong bug to this email, but the issues with polymorphic archives and serializing shared_ptr that are in that bug report don't appear to be fixed in 1.58rc3 either.
I've come to understand that there are/were two issues. I didn't realize that one was associated with helpers and polymorphic archives- which is a combination not found in my test suite.
Good news is that believe that I'm on the way to fixing the problem.
Robert Ramey
Robert, have you had a chance to look into this issue any further?
Hmmm - if I haven't fixed it yet, it's because I've been busy with other stuff. On the other hand, I don't remember what the issue was (I'm hoping/assuming it's an open trac item. When I have some time I'll spend it serialization library maintenance which includes trac items, clarification of support and testing for C++11/14 and other enhancements.
Robert Ramey
Hi, a very quick check revealed that at least my issue with polymorphic archives and shared-ptr seems to be solved. I guess it was the same as mentioned above. But I did not have time to do the proper testing. Thanks from my side! Best, Oswin
Hi,
a very quick check revealed that at least my issue with polymorphic archives and shared-ptr seems to be solved. I guess it was the same as mentioned above. But I did not have time to do the proper testing.
Thanks from my side!
Best, Oswin
What version were you testing against?
On 2015-07-14 18:20, Jared McIntyre wrote:
Hi,
a very quick check revealed that at least my issue with polymorphic archives and shared-ptr seems to be solved. I guess it was the same as mentioned above. But I did not have time to do the proper testing.
Thanks from my side!
Best, Oswin
What version were you testing against?
Hi, 1_59_rc1 Best, Oswin
It is in Trac as 10703. I added some example code there:
https://svn.boost.org/trac/boost/ticket/10703
On Tue, Jul 14, 2015 at 9:35 AM, Robert Ramey
On 7/14/15 8:05 AM, Jared McIntyre wrote:
On Thu, Apr 9, 2015 at 9:54 PM, Robert Ramey
wrote: thePoet wrote
I may have accidentally posted the wrong bug to this email, but the
issues
with polymorphic archives and serializing shared_ptr that are in that bug report don't appear to be fixed in 1.58rc3 either.
I've come to understand that there are/were two issues. I didn't realize that one was associated with helpers and polymorphic archives- which is a combination not found in my test suite.
Good news is that believe that I'm on the way to fixing the problem.
Robert Ramey
Robert, have you had a chance to look into this issue any further?
Hmmm - if I haven't fixed it yet, it's because I've been busy with other stuff. On the other hand, I don't remember what the issue was (I'm hoping/assuming it's an open trac item. When I have some time I'll spend it serialization library maintenance which includes trac items, clarification of support and testing for C++11/14 and other enhancements.
Robert Ramey
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
Jared McIntyre
-
Oswin Krause
-
Robert Ramey