
6 May
2010
6 May
'10
12:40 p.m.
Igor R wrote:
From what I see, basic_path will with< std::string, path_traits> ( from path.hpp). I'm deriving from basic_path and using that constructor.
I don't know what you mean by saying "using that constructor", but note that in C++ constructors are not inherited.
Thanks Igor, I guess I need a good head slap. The error was cryptic. This works: template<class String, class Traits> class basic_vpath :public basic_path< String, Traits > { public: basic_vpath( const string_type & s ) :basic_path( s ) { } basic_vpath( const value_type * s ) :basic_path( s ) { } }; Best, Dan.