You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rojas (JIRA)" <ji...@apache.org> on 2015/06/16 10:20:01 UTC

[jira] [Commented] (MESOS-2705) Add correct format template declarations to the styleguide

    [ https://issues.apache.org/jira/browse/MESOS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587654#comment-14587654 ] 

Alexander Rojas commented on MESOS-2705:
----------------------------------------

[s/35494/|https://reviews.apache.org/r/35494/] - Adds spacing rule to the styleguide.

> Add correct format template declarations to the styleguide
> ----------------------------------------------------------
>
>                 Key: MESOS-2705
>                 URL: https://issues.apache.org/jira/browse/MESOS-2705
>             Project: Mesos
>          Issue Type: Documentation
>            Reporter: Alexander Rojas
>            Assignee: Alexander Rojas
>
> The general rule to format templates is to declare them as:
> {code}
> template <typename T> // notice the space between template and <
> class Foo {
>   …
> };
> {code}
> However, the style is not documented anywhere nor it is inherited from the Google style guide.



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