[
https://issues.apache.org/jira/browse/MESOS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587662#comment-14587662
]
Alexander Rojas commented on MESOS-2705:
----------------------------------------
The big question here is, why do we do it like this? Most code omits this space.
> 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)