Skip to content

Commit

Permalink
Update license to the new Boost license (yay!)
Browse files Browse the repository at this point in the history
[SVN r20235]
  • Loading branch information
DougGregor committed Oct 1, 2003
1 parent fad4073 commit 8c8f072
Show file tree
Hide file tree
Showing 42 changed files with 165 additions and 393 deletions.
14 changes: 4 additions & 10 deletions doc/function.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,10 @@
</copyright>

<legalnotice>
<para>Permission to copy, use, sell and distribute this software
is granted provided this copyright notice appears in all copies.
Permission to modify the code and to distribute modified code is
granted provided this copyright notice appears in all copies, and
a notice that the code was modified is included with the copyright
notice. </para>

<para> This software is provided "as is" without express or
implied warranty, and with no claim as to its suitability for any
purpose. </para>
<para>Use, modification and distribution is subject to the Boost
Software License, Version 1.0. (See accompanying file
<filename>LICENSE_1_0.txt</filename> or copy at <ulink
url="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</ulink>)</para>
</legalnotice>

<librarypurpose>Function object wrappers for deferred calls or callbacks</librarypurpose>
Expand Down
14 changes: 4 additions & 10 deletions example/bind1st.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library examples

// Copyright (C) 2001 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2001-2003. Use, modification and
// distribution is 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)

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

Expand Down
18 changes: 6 additions & 12 deletions example/int_div.cpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
// Boost.Function library examples

// Copyright (C) 2001 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2001-2003. Use, modification and
// distribution is 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)

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

#include <iostream>
#include <boost/function.hpp>

struct int_div {
float operator()(int x, int y) const { return ((float)x)/y; };
struct int_div {
float operator()(int x, int y) const { return ((float)x)/y; };
};

int
Expand Down
16 changes: 5 additions & 11 deletions example/sum_avg.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library examples

// Copyright (C) 2001 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2001-2003. Use, modification and
// distribution is 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)

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

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

sum_avg = &do_sum_avg;
Expand Down
14 changes: 4 additions & 10 deletions include/boost/function.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2001, 2002 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2001-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/detail/function_iterate.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2003. Use, modification and
// distribution is 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)

// For more information, see http://www.boost.org
#if !defined(BOOST_PP_IS_ITERATING)
Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/detail/maybe_include.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/detail/prologue.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function0.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function1.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function10.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function2.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function3.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function4.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function5.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function6.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function7.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function8.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
14 changes: 4 additions & 10 deletions include/boost/function/function9.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
// Boost.Function library

// Copyright (C) 2002-2003 Doug Gregor ([email protected])
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// that the code was modified is included with the copyright notice.
//
// This software is provided "as is" without express or implied warranty,
// and with no claim as to its suitability for any purpose.
// Copyright Doug Gregor 2002-2003. Use, modification and
// distribution is 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)

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

Expand Down
Loading

0 comments on commit 8c8f072

Please sign in to comment.