6 #ifndef LIBPORT_FILE_LIBRARY_HXX 
    7 # define LIBPORT_FILE_LIBRARY_HXX 
   12   template <
typename ForwardRange>
 
   19   template <
typename ForwardRange>
 
   23     bool inserted = 
false;
 
   24     auto first = std::begin(r);
 
   25     if (first != std::end(r))
 
   31         for (
const std::string& s: 
split(*first, sep))
 
   46   template <
class Iterable>
 
   49                           const Iterable& default_path,
 
   52     bool inserted = 
false;
 
   53     if (user_path.empty())
 
   56       for (
const std::string& s: default_path)
 
   62       for (
const std::string& s1: 
split(user_path, sep))
 
   68           for (
const std::string& s2: default_path)
 
  109 #endif // !LIBPORT_FILE_LIBRARY_HXX 
std::ostream & operator<<(std::ostream &os, direction d)
Pretty-printing. 
 
Paths in filesystems, i.e., file names. 
 
std::ostream & dump(std::ostream &ostr) const 
 
self_type & prepend(const path &p)
 
static strings_type split(const std::string &lib, const char *sep)
Split lib at each occurrence of sep, return the list of components. 
 
path_list_type & search_path()
 
void push_cwd()
Push the working directory on the stack. 
 
self_type & push_front(const path &p)
 
path_list_type search_path_
Inclusion path list. 
 
self_type & push_back(const path &p)
 
std::list< path > path_list_type
Broken on Mac OS X (https://trac.macports.org/ticket/41588). 
 
Provide a variadic mul on top of a binary mul(), and one(). 
 
const path_list_type & search_path_get() const 
 
self_type & append(const path &p)