Boost logo

Boost Users :

Subject: Re: [Boost-users] How to get the basic_path specialization for TCHAR ?
From: Timothy Madden (terminatorul_at_[hidden])
Date: 2010-07-29 16:37:28


Richard wrote:
> [Please do not mail me a copy of your followup]
>
> boost-users_at_[hidden] spake the secret code
> <i2pv64$vp8$1_at_[hidden]> thusly:
>
>> Is there a nice why to select a basic_path specialization with the
>> current with of TCHAR ?
>
> TCHAR is just a typedef for char or wchar_t. So anyplace you would
> use char or wchar_t as a template argument you can use TCHAR.

Ok and how could I specialize basic_path with TCHAR to get a path if
TCHAR is char, and a wpath if TCHAR is wchar_t ?

Timothy Madden


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