[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CSmartHandle

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 22 Dec 2015 09:40:40 +0100

On 22.12.2015 08:24, Oto BREZINA wrote:
> On 2015-12-21 21:36, Stefan Küng wrote:
>> On 21.12.2015 21:19, Oto BREZINA wrote:
>>> On 2015-12-21 19:37, Stefan Küng wrote:
>>>> You're right.
>>>> I've changed it in r27081.
>>> nice one, why to call default constructor with this solution ?
>> because with C++11 it's possible, and it avoids code duplication (even
>> if the initialization is only one line of code).
> Ok. Anyway, I don't see a point there. 1st no other (conversion)
> constructor use that, 2nd the only value/member get overwritten
>
> Oto
>
> PS: compiler we use is not C++11 yet, and Im trying to make code as

If it's not c++11 yet, then why do you need the move constructors?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3151669
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-12-22 09:40:51 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.