Boost C++ Libraries: Ticket #5192: Serialization of Boost.Filesystem path https://svn.boost.org/trac10/ticket/5192 <p> I came across Johan Rade's post about serialization of a filesystem path (see <a class="ext-link" href="http://lists.boost.org/Archives/boost/2008/09/142550.php"><span class="icon">​</span>http://lists.boost.org/Archives/boost/2008/09/142550.php</a>). </p> <p> However I couldn't spot it in the source code. Maybe a suggestion? Ofc the C4127 should be addressed then. </p> <p> Note: the mail thread is also about in which library the solution should be placed. My suggestion is to put it in serialization library, with the rationale that 'path' is a more basic concept (comparable to string, vector etc.) than serialization is. It would be more natural for serialization to use the filesystem library than the other way around. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5192 Trac 1.4.3 Robert Ramey Sat, 19 Feb 2011 17:28:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5192#comment:1 https://svn.boost.org/trac10/ticket/5192#comment:1 <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">wontfix</span> </li> </ul> <p> This is a bad idea. It would then make the serialization library dependent on the file system library. This violates the current practice and signs me up for more maintenance forever which is unsustainable. The correct solution is to add a header file to the file system library boost/filesystem/serialization/path.hpp or maybe boost/filesystem/path/serialization.hpp </p> <p> Robert Ramey </p> Ticket gast128@… Sat, 15 Aug 2015 10:08:29 GMT <link>https://svn.boost.org/trac10/ticket/5192#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5192#comment:2</guid> <description> <p> Pity that Robert feels this way. Should the filesystem library be dependent on Serialization then? You always have basic libraries and advanced libraries which built on the basic (primitive) types. Imho date time and filesystem are the primitive types which other libraries should use when dealing with date/time and files. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 15 Aug 2015 15:51:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5192#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5192#comment:3</guid> <description> <p> In large part it's about responsibility. I can't be responsible for serialization of all the boost types. If it's really important get the author of the particular library to do it. If he doesn't think it's important enough to do, I can't get excited about signing up to maintain something like this. </p> <p> Traditionally, one author has been responsible for the code in one library directory. Under some circumstances this has some problems which show up in dependencies. But the only proposed solutions require that I would sign up to invest a huge amount of effort in re-organizing the library. </p> <p> Of course you could always do it yourself. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 01 Nov 2017 05:04:51 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/5192#comment:4 https://svn.boost.org/trac10/ticket/5192#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">wontfix</span> </li> </ul> <p> I think this needs revisiting now that boost::filesystem is going into the C++ standard. </p> <p> IMO, this will soon require it to be supported by the serialization library anyway. </p> <p> BTW, does anyone have an update to the original code, since boost::filesystem has been significantly updated on its way to standardization? </p> Ticket jon@… Wed, 01 Nov 2017 05:05:25 GMT <link>https://svn.boost.org/trac10/ticket/5192#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5192#comment:5</guid> <description> <p> Sorry, that last update was from me... </p> </description> <category>Ticket</category> </item> </channel> </rss>