From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Derbyshire To: egcs@egcs.cygnus.com Subject: Question about compiler-supplied assignment and copy with egcs. Date: Sun, 28 Feb 1999 22:53:00 -0000 Message-id: <3.0.6.32.19990224061953.008489d0@pop.globalserve.net> X-SW-Source: 1999-02n/msg01224.html Q: If egcs is allowed to supply the assignment operator and copy constructor for a "plain old data" type, will they be generally more efficient than user supplied versions? I would expect so since the compiler should output code to use the hardware's fastest block memory moves and should optimize temporaries and copyings away aggressively since the compiler knows there are no side effects. -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------- -- B. Mandelbrot | http://surf.to/pgd.net _____________________ ____|________ Paul Derbyshire pderbysh@usa.net Programmer & Humanist|ICQ: 10423848|