Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Thu, Apr 04, 2002 at 03:32:20PM +0200, Lars Gullik Bjønnes wrote:
>> Yes, you need to implement a non-throwing swap function, but then you
>> are typesafe.
>
| [Typesafe?]

Yes typesafe?
| [Which is always a pain in the ass to maintain if you have a dozen members
| or so...]

... and if there are a lot of class variables then something is wrong
with the design...  (I think I even heard you say that)

And we want to be typesafe!

| What the heck is wrong with the auto-generated version of operator=().
| Less code means less maintance.

auto generated versions of operator= are never typesafe.

| And don't tell me LyX would do anything sensible
| if constructors start throwing. 

Sure we could.  Gracefull shutdown. emergency save. delete some
structures to get more memory.

| I see no benefit in adding hunderds of lines of code just for obscure
| theories..

so so obscure... and not theories either...

-- 
        Lgb

Reply via email to