Boost logo

Boost :

From: Mark Coletti (mcoletti_at_[hidden])
Date: 2003-09-29 12:24:27


I'm getting this error with boost::filesystem::fstream:

c:\cygwin\usr\local\include\boost-1.30.2\boost\filesystem\fstream.hpp(47)
: error C2504: 'basic_ifstream<char,struct std::char_traits<char> >' :
base class undefined
        c:\cygwin\home\mcoletti\usgs\libsdts++\sdts++\builder\sb_accessor.cpp(227) : see reference to class template instantiation 'boost::filesystem::basic_ifstream<char,struct std::char_traits<char> >' being compiled

Offending code in "boost/filesystem/fstream.hpp":

    template < class charT, class traits = std::char_traits<charT> >
    class basic_ifstream : public std::basic_ifstream<charT,traits>
    {
    public:

Anyone else encounter this problem? Near as I can tell, that base
class does, indeed, exist in VC++6SP5.

-- 
Mark Coletti | mailto:mcoletti_at_[hidden] | http://www.lychnobite.org/
		   Did you forget to floss the cat?

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