Boost logo

Boost Users :

From: Martin Knapp-Cordes (martin_at_[hidden])
Date: 2008-05-27 09:57:07


Hi,

In boost/filesystem/path.hpp there are a set of methods controlled
by:

# ifndef BOOST_FILESYSTEM_NO_DEPRECATED
      public:
        typedef bool (*name_check)( const std::string & name );
        basic_path( const string_type & str, name_check ) { operator/=( str
); }
        basic_path( const typename string_type::value_type * s, name_check
)
          { operator/=( s );}
        string_type native_file_string() const { return file_string(); }
        string_type native_directory_string() const { return
directory_string(); }
        static bool default_name_check_writable() { return false; }
        static void default_name_check( name_check ) {}
        static name_check default_name_check() { return 0; }
        basic_path & canonize();
        basic_path & normalize();
# endif

I have been using normalize for several releases of boost, but I
am very concerned that it is no longer part of the officially
supported spec and may disappear in some future release.

normalize is a very very useful routine and one of the reasons for
using boost was to let smarter people produce routines that
could become standards. Our local version of 'normalize' did
a poor job and I went to boost to fix this version hopefully
once and for all.

So if it is going away, what are my options?

Sincerely,
Martin Knapp-Cordes

---------------------------------------------------------------
| Martin Knapp-Cordes martin_at_[hidden] |
| The MathWorks, Inc. http://www.mathworks.com |
| 3 Apple Hill Drive Natick, MA 01760 |
| Tel: (508) 647-7321 Fax: (508) 647-7015 |
---------------------------------------------------------------


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net