|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86756 - trunk/libs/geometry/doc
From: mateusz_at_[hidden]
Date: 2013-11-18 10:18:50
Author: mloskot
Date: 2013-11-18 10:18:50 EST (Mon, 18 Nov 2013)
New Revision: 86756
URL: http://svn.boost.org/trac/boost/changeset/86756
Log:
[geometry] Update rule for template declaration with long template parameter list
Text files modified:
trunk/libs/geometry/doc/guidelines.qbk | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
Modified: trunk/libs/geometry/doc/guidelines.qbk
==============================================================================
--- trunk/libs/geometry/doc/guidelines.qbk Mon Nov 18 10:11:54 2013 (r86755)
+++ trunk/libs/geometry/doc/guidelines.qbk 2013-11-18 10:18:50 EST (Mon, 18 Nov 2013) (r86756)
@@ -95,8 +95,9 @@
int b;
};
```
-* Template declaration with long template parameter list should be formatted
- with one template parameter per line, all parameters indented:
+* Template declaration with long template parameter list shall be formatted
+ with one template parameter per line, all parameters indented,
+ but `<` and `>` brackets not indented:
```
template
<
@@ -107,9 +108,9 @@
struct polygon
{
typedef typename boost::remove_const
- <
- typename traits::point_type<T>::type
- >::type type
+ <
+ typename traits::point_type<T>::type
+ >::type type
};
```
* References and pointers should be formatted emphasizing type, not syntax:
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk