[
https://issues.apache.org/jira/browse/MESOS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616969#comment-14616969
]
Adam B commented on MESOS-2705:
-------------------------------
commit c4ef28928e120e56d0eba936a227b3d9e6734a78
Author: Alexander Rojas <[email protected]>
Date: Tue Jul 7 10:45:04 2015 +0200
Added format for template declaration in the styleguide.
Review: https://reviews.apache.org/r/35494
> 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
> Labels: mesosphere
>
> 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)