mirror of
https://github.com/boostorg/container.git
synced 2026-01-29 09:50:22 +01:00
Trailing whitespaces
[SVN r78519]
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
# Boost Container Library Example Jamfile
|
||||
|
||||
# (C) Copyright Ion Gaztanaga 2009
|
||||
# Use, modification and distribution are subject to the
|
||||
# Boost Software License, Version 1.0. (See accompanying file
|
||||
# Use, modification and distribution are subject to the
|
||||
# Boost Software License, Version 1.0. (See accompanying file
|
||||
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# Adapted from John Maddock's TR1 Jamfile.v2
|
||||
# Copyright John Maddock 2005.
|
||||
# Use, modification and distribution are subject to the
|
||||
# Boost Software License, Version 1.0. (See accompanying file
|
||||
# Use, modification and distribution are subject to the
|
||||
# Boost Software License, Version 1.0. (See accompanying file
|
||||
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# this rule enumerates through all the sources and invokes
|
||||
@@ -31,4 +31,4 @@ rule test_all
|
||||
return $(all_rules) ;
|
||||
}
|
||||
|
||||
test-suite container_example : [ test_all r ] : <threading>multi ;
|
||||
test-suite container_example : [ test_all r ] : <threading>multi ;
|
||||
|
||||
@@ -49,7 +49,7 @@ int main()
|
||||
stable_vector<data> sv;
|
||||
sv.resize(100);
|
||||
|
||||
//Let's build a tree based in
|
||||
//Let's build a tree based in
|
||||
//a recursive data type
|
||||
tree_node root;
|
||||
root.name = "root";
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
//MyClassHolder.h
|
||||
|
||||
//We don't need to include "MyClass.h"
|
||||
//to store vector<MyClass>
|
||||
//to store vector<MyClass>
|
||||
class MyClass;
|
||||
|
||||
class MyClassHolder
|
||||
@@ -44,7 +44,7 @@ class MyClass
|
||||
MyClass(int val = 0) : value_(val){}
|
||||
|
||||
friend bool operator==(const MyClass &l, const MyClass &r)
|
||||
{ return l.value_ == r.value_; }
|
||||
{ return l.value_ == r.value_; }
|
||||
//...
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user