[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: RE: kdevplatform krazy
From: "Kris Wong" <wongk () seapine ! com>
Date: 2007-07-19 12:41:03
Message-ID: D1EF2A02037CA74CBC1C6AF3F5E0F7310249A911 () ex3 ! seapine ! com
[Download RAW message or body]
> Well, then you can't do
>
> foo = bar = 10;
>
> Of course I have no idea if thats needed or wanted for IdentifiedFile,
> but it seems to be common practive to return a reference to this from
> operator=.
>
True, but that sort of thing is generally considered bad practice and I
believe is undefined according to the c++ standard. You are right,
though, it is generally common practice to return a reference to the
item.
Kris Wong
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic