You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Misty Stanley-Jones (JIRA)" <ji...@apache.org> on 2016/08/17 02:39:20 UTC

[jira] [Updated] (KUDU-1303) Document preference for C++11 rvalue and move semantics in style guide

     [ https://issues.apache.org/jira/browse/KUDU-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Misty Stanley-Jones updated KUDU-1303:
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.10.0
           Status: Resolved  (was: In Review)

> Document preference for C++11 rvalue and move semantics in style guide
> ----------------------------------------------------------------------
>
>                 Key: KUDU-1303
>                 URL: https://issues.apache.org/jira/browse/KUDU-1303
>             Project: Kudu
>          Issue Type: Task
>          Components: documentation
>            Reporter: Misty Stanley-Jones
>            Assignee: Misty Stanley-Jones
>             Fix For: 0.10.0
>
>
> {quote}Found this handy guide to C++11 move semantics and rvalue references:
> https://www.chromium.org/rvalue-references
> We should probably follow most of their guidelines - in particular, not
> going too crazy with move semantics, but probably slowly migrating away
> from 'foo.Pass()' to 'std::move(foo)'. I'll grab the patches over from
> Chromium-base to support std::move with our utility stuff.{quote}
> Document this preference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)