Boost logo

Boost Users :

Subject: Re: [Boost-users] Newbie question filesystem
From: Igor R (boost.lists_at_[hidden])
Date: 2010-05-06 07:19:44


> template<class String, class Traits> class basic_vpath;
> typedef basic_vpath< std::string, path_traits > vpath;
>
> template<class String, class Traits> class basic_vpath
>    :public basic_path< String, Traits >
> {
> };
>
> But I don't understand why I can just fine:
>    CString strUserDirectory= _T("C:\\cpp\\RA_User_2_2\\$(TEST)");
>    path aPath( strUserDirectory );
>
> But can't convert from CString, or even std::string with:
>
>    CString strUserDirectory= _T("C:\\cpp\\RA_User_2_2\\$(TEST)");
>    vpath aPath( strUserDirectory );

Does vpath class have a constructor that takes CString or LPTCSTR?


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