Skip to content

Commit 8c8f072

Browse files
committed
Update license to the new Boost license (yay!)
[SVN r20235]
1 parent fad4073 commit 8c8f072

42 files changed

Lines changed: 165 additions & 393 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

doc/function.xml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,10 @@
1919
</copyright>
2020

2121
<legalnotice>
22-
<para>Permission to copy, use, sell and distribute this software
23-
is granted provided this copyright notice appears in all copies.
24-
Permission to modify the code and to distribute modified code is
25-
granted provided this copyright notice appears in all copies, and
26-
a notice that the code was modified is included with the copyright
27-
notice. </para>
28-
29-
<para> This software is provided "as is" without express or
30-
implied warranty, and with no claim as to its suitability for any
31-
purpose. </para>
22+
<para>Use, modification and distribution is subject to the Boost
23+
Software License, Version 1.0. (See accompanying file
24+
<filename>LICENSE_1_0.txt</filename> or copy at <ulink
25+
url="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</ulink>)</para>
3226
</legalnotice>
3327

3428
<librarypurpose>Function object wrappers for deferred calls or callbacks</librarypurpose>

example/bind1st.cpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library examples
22

3-
// Copyright (C) 2001 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2001-2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159

example/int_div.cpp

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
// Boost.Function library examples
22

3-
// Copyright (C) 2001 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2001-2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159

1610
#include <iostream>
1711
#include <boost/function.hpp>
1812

19-
struct int_div {
20-
float operator()(int x, int y) const { return ((float)x)/y; };
13+
struct int_div {
14+
float operator()(int x, int y) const { return ((float)x)/y; };
2115
};
2216

2317
int

example/sum_avg.cpp

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library examples
22

3-
// Copyright (C) 2001 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2001-2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159

@@ -28,7 +22,7 @@ int
2822
main()
2923
{
3024
// The second parameter should be int[], but some compilers (e.g., GCC)
31-
// complain about this
25+
// complain about this
3226
boost::function<void, int*, int, int&, float&> sum_avg;
3327

3428
sum_avg = &do_sum_avg;

include/boost/function.hpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library
22

3-
// Copyright (C) 2001, 2002 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2001-2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org/libs/function
159

include/boost/function/detail/function_iterate.hpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library
22

3-
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159
#if !defined(BOOST_PP_IS_ITERATING)

include/boost/function/detail/maybe_include.hpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library
22

3-
// Copyright (C) 2003 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159

include/boost/function/detail/prologue.hpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library
22

3-
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2002-2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159

include/boost/function/function0.hpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library
22

3-
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2002-2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159

include/boost/function/function1.hpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Boost.Function library
22

3-
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
4-
//
5-
// Permission to copy, use, sell and distribute this software is granted
6-
// provided this copyright notice appears in all copies.
7-
// Permission to modify the code and to distribute modified code is granted
8-
// provided this copyright notice appears in all copies, and a notice
9-
// that the code was modified is included with the copyright notice.
10-
//
11-
// This software is provided "as is" without express or implied warranty,
12-
// and with no claim as to its suitability for any purpose.
3+
// Copyright Doug Gregor 2002-2003. Use, modification and
4+
// distribution is subject to the Boost Software License, Version
5+
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
137

148
// For more information, see http://www.boost.org
159

0 commit comments

Comments
 (0)