Re: [Boost-bugs] [Boost C++ Libraries] #1976: Inverse function for complete

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1976: Inverse function for complete
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-21 23:52:36

#1976: Inverse function for complete
  Reporter:[hidden] | Owner: bemandawes
      Type: Feature Requests | Status: new
 Milestone: Boost 1.36.0 | Component: filesystem
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:


 An additional use case for this came up on the users list:

   The use case here is creating complete output paths for "copy-pasting a
 sub-tree from input_base_path to output_base_path" (ofcourse with some
 transformations along the way).

   For now, I am using

   fs::wpath output_path=output_base_path;
   int k=0; for(fs::wpath::iterator
 i=input_path.begin();i!=input_path.end();i++,k++) if(k>=7)

   Again, 7 is the number of elements in input_base_path. advance() would
 make it atleast slightly cleaner (remove k, and the if on k), uncomplete
 would be ideal.

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC