Re: [Boost-bugs] [Boost C++ Libraries] #5588: property_tree INFO include directive

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5588: property_tree INFO include directive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-21 19:55:01


#5588: property_tree INFO include directive
---------------------------------+------------------------------------------
  Reporter: sarum9in@… | Owner: cornedbee
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: property_tree
   Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
---------------------------------+------------------------------------------

Comment (by sarum9in@…):

 Replying to [comment:1 cornedbee]:
> Good point, but I can't fix this without introducing a dependency on
 Filesystem, which requires building. Not sure if I want to do that.

 Nevertheless it is possible to reimplement read_info function in the
 following way:
 we can introduce template argument (some functor), that will perform path
 resolving. Also we can provide default path-resolver that will behave as
 current implementation. Path-resolver that depends on boost::filesystem
 can be placed into separate header. Only and only if user wants to use
 this path-resolver the boost::filesystem dependency will be introduced.

 If this idea seems good for you, I can try to create a patch.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5588#comment:2>
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:07 UTC