Re: [Boost-bugs] [Boost C++ Libraries] #11784: basic_xml_grammar.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11784: basic_xml_grammar.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-21 14:27:56


#11784: basic_xml_grammar.hpp
-------------------------------+---------------------------
  Reporter: epsilonomega2k@… | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.59.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+---------------------------

Comment (by tom.dreyfus@…):

 Hello,

 I faced a similar issue and I noticed the same problem with
 libboost_serialization.so and libboost_serialization.a .

 My context is that I need to make a custom xml archive with the
 possibility to split the archive into two different archives (one
 containing the main data structure, and another one listing some heavy
 data structures containing in the main one). For my output archive, the
 boost tutorial worked fine. However, for my input archive, it did not
 work, and I found this ticket very similar to my troubles.

 I do not want to modify the boost library since I am coding in the context
 of a template C++ library, and I cannot use the solution proposed by
 epsilonomega2k. I found another workaround by adding to the headers of my
 library the following source files found in boost/libs/serialization/src :

 basic_xml_grammar.ipp
 xml_grammar.cpp -> xml_grammar.ipp

 It compiles on my workstation, but this does not seem to be the right way
 to do. Do you have any suggestion ?

 Thank you.

 Tom.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11784#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC