u wrong, if the constructor is private, new can't create its instance.
blaise(blaise)
constructor be private is meanful, friend function/class can create it. that's the way to avoid others(ur lib user) create the instance of class which you think they shouldn't do so.
(#119686@0) Last Updated: 2001-7-4 This post has been archived. It cannot be replied.