Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Factory Classes

1 view
Skip to first unread message

Paul Wuersig

unread,
May 1, 2005, 2:40:53 PM5/1/05
to
The Factory Classes Elements page lists the following facts about
factory classes:
<elements>
Factory classes only support a limited number of instances.

They're implemented with private constructors and public static
methods.
</elements>

However, in the Factory Classes Example, the factory class neither
supports a limited number of instances, nor is it implemented with
private constructors. Either I'm missing something really fundamental
here, or there's a mistake.

Paul.

references:

Factory Classes Elements page:
http://www.cs.utexas.edu/users/downing/cs378/elements/FactoryClasses.html

factory class example:
http://www.cs.utexas.edu/users/downing/cs378/lang/FactoryClasses.c++

Glenn Downing

unread,
May 2, 2005, 8:58:51 AM5/2/05
to
Thanks, Paul. I've improved the description.


On 5/1/05 1:40 PM, in article
1114972853.9...@g14g2000cwa.googlegroups.com, "Paul Wuersig"
<paulw...@gmail.com> wrote:

--
Glenn P. Downing
The University of Texas at Austin
Department of Computer Sciences
Taylor Hall 2.124
Austin, TX 78712
(512) 471-7316
http://www.cs.utexas.edu/users/downing/

0 new messages