Boost logo

Boost :

From: Ehsan Akhgari (ehsan_at_[hidden])
Date: 2003-09-17 03:41:28


> This constructor for the class std::fstream is documented in the help,

> but it doesn't seem to be actually implemented. Any idea what's going
> on? I am using VC++ 6.0.

Try compiling the following:

#include <fstream>
#include <tchar.h>

int main()
{
 std::basic_fstream< TCHAR > stream(
  _tfopen( _T("myfile.txt"), _T("r") ) );
}

It compiles fine for me on VC++ 7.1 (using the command "cl 1.cpp
/Ehsc".)

-------------
Ehsan Akhgari

List Owner: MSVC_at_[hidden]

[ Email: ehsan_at_[hidden] ]
[ WWW: http://www.beginthread.com/Ehsan ]

Light without eyes illuminates nothing.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk