Boost logo

Boost Users :

Subject: Re: [Boost-users] [filesystem] Using basic_path in char-type generic code
From: Adam Badura (abadura_at_[hidden])
Date: 2010-02-27 02:45:47


> There are two independent structs, path_traits and wpath_traits.

    Yes. And this is the problem since it makes it impossible to use
basic_path in the same character independent type as we can use
basic_string.
    Can this be solved somehow? For example by making the traits a template
class (dependent on the character type) and provide only two specializations
for char and wchar_t?

    Adam Badura


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