[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDialogBase problem with KGuiItem
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2001-11-30 18:34:18
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 29 November 2001 17:46, Martijn Klingens wrote:
<snip>
> which takes a 'KGuiItem&' and hence tries to make copies
<snip>

AFAIK my C++, taking an argument as reference doesn't call the copy 
c'tor. Taking by value does. That's why you should always take aruments 
as const reference where possible: Because that poses the least 
restrictions on the parameter w.r.t to const'ness and copyability.

Marc

- -- 
FTAA's anti-circumvention provisions represent US imperialism at its
worst. They seek to impose restrictive laws on both the US and other
countries, in order to prevent established US businesses from facing
both domestic and foreign competition.
              -- EFF FTAA Alert:
                 Stop Hollywood Forcing Technology Ban on 34 Countries
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8B+2T3oWD+L2/6DgRAq78AKC5NOFD/5MaD0AKOcM6iS5Fw6A2gACfVFks
DQnhqWWZ9hY3fV2KDGADzFk=
=VQZv
-----END PGP SIGNATURE-----


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic