[ https://issues.apache.org/jira/browse/MESOS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Rojas updated MESOS-2705: ----------------------------------- Description: 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. was: The general rule to format templates is to declare them as: {code} template <typename T> class Foo { … }; {code} However, the style is not documented anywhere nor it is inherited from the Google style guide. > 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)