Path: utzoo!attcan!uunet!wotk!root From: root@wotk.UUCP (Superuser) Newsgroups: comp.lang.c++ Subject: object initialization syntax Keywords: objects initialization syntax aggregates Message-ID: <7@wotk.UUCP> Date: 30 Jul 90 18:49:45 GMT Organization: World-Wide Technology Lines: 19 I'm curious why the following syntax was chosen for initializing an instance of a class - MyClass X(1,2,3,); instead of the syntax used in C aggregate data types - MyStruct X = {1,2,3}; MyArray X = {1,2,3}; Is it to emphasize the fact that a constructor function will be called? Curious, Nick Hennenfent Voice 404 475-2725 Computone Products FAX 404 343-9735 1100 Northmeadow Parkway Usenet ...!uunet!wotk!{nickh,root} Suite 150 Roswell, GA 30076