bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MappedFile constructors


From: Alex Pavloff
Subject: MappedFile constructors
Date: Tue, 12 Nov 2002 17:24:05 -0800

Both ost::MappedFile constructors take an ost::File::Access parameter.
ost::File::Access is declared protected.  The constructors are
public.Obviously, something's not right, as of course, you can't create a
MappedFile unless you derive from it.  

So:  

Are the MappedFile constructors supposed to be protected or is File::Access
supposed to be public? 

I'm guessing that File::Access needs to be fixed, because both SharedFile
and ThreadFile have public constructors that work, which I believe implies
that they're supposed to be used as is.

Alex Pavloff - address@hidden
Eason Technology -- www.eason.com
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]