Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.lang.c++ Subject: Re: Is this a bug? Message-ID: <641@taumet.com> Date: 28 Mar 91 16:56:01 GMT References: <1991Mar25.181029.28684@arcturus.uucp> Distribution: na Organization: Taumetric Corporation, San Diego Lines: 13 berryc@arcturus.uucp (Craig D. Berry (x1710)) writes: |I have a class with a static member function: | class foo { public: static foo barfunc(); } |Now, somewhere else, I try to use barfunc to initialize a foo: | foo quux = foo::barfunc(); |This doesn't work... |Am I missing something, or is my compiler (Turbo C++ 1.0) broken? This is a compiler bug. I have the latest release, and the example works. -- Steve Clamage, TauMetric Corp, steve@taumet.com