mirror of
https://github.com/boostorg/function.git
synced 2025-07-06 09:16:35 +02:00
Lots o' copyright statements
[SVN r17265]
This commit is contained in:
@ -1,3 +1,17 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
#if !defined(BOOST_PP_IS_ITERATING)
|
#if !defined(BOOST_PP_IS_ITERATING)
|
||||||
# error Boost.Function - do not include this file!
|
# error Boost.Function - do not include this file!
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,4 +1,19 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
#
|
||||||
|
# Boost.Function library
|
||||||
|
#
|
||||||
|
# Copyright (C) 2001-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
# For more information, see http://www.boost.org
|
||||||
use English;
|
use English;
|
||||||
|
|
||||||
$max_args = $ARGV[0];
|
$max_args = $ARGV[0];
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#if BOOST_FUNCTION_NUM_ARGS == 0
|
#if BOOST_FUNCTION_NUM_ARGS == 0
|
||||||
# ifndef BOOST_FUNCTION_0
|
# ifndef BOOST_FUNCTION_0
|
||||||
# define BOOST_FUNCTION_0
|
# define BOOST_FUNCTION_0
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#ifndef BOOST_FUNCTION_PROLOGUE_HPP
|
#ifndef BOOST_FUNCTION_PROLOGUE_HPP
|
||||||
#define BOOST_FUNCTION_PROLOGUE_HPP
|
#define BOOST_FUNCTION_PROLOGUE_HPP
|
||||||
# include <cassert>
|
# include <cassert>
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 0
|
#define BOOST_FUNCTION_NUM_ARGS 0
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 1
|
#define BOOST_FUNCTION_NUM_ARGS 1
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 10
|
#define BOOST_FUNCTION_NUM_ARGS 10
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 2
|
#define BOOST_FUNCTION_NUM_ARGS 2
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 3
|
#define BOOST_FUNCTION_NUM_ARGS 3
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 4
|
#define BOOST_FUNCTION_NUM_ARGS 4
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 5
|
#define BOOST_FUNCTION_NUM_ARGS 5
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 6
|
#define BOOST_FUNCTION_NUM_ARGS 6
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 7
|
#define BOOST_FUNCTION_NUM_ARGS 7
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 8
|
#define BOOST_FUNCTION_NUM_ARGS 8
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// Boost.Function library
|
||||||
|
|
||||||
|
// Copyright (C) 2002-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
#define BOOST_FUNCTION_NUM_ARGS 9
|
#define BOOST_FUNCTION_NUM_ARGS 9
|
||||||
#include <boost/function/detail/maybe_include.hpp>
|
#include <boost/function/detail/maybe_include.hpp>
|
||||||
#undef BOOST_FUNCTION_NUM_ARGS
|
#undef BOOST_FUNCTION_NUM_ARGS
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Boost.Function library
|
// Boost.Function library
|
||||||
|
|
||||||
// Copyright (C) 2001, 2002 Doug Gregor (gregod@cs.rpi.edu)
|
// Copyright (C) 2001-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
//
|
//
|
||||||
// Permission to copy, use, sell and distribute this software is granted
|
// Permission to copy, use, sell and distribute this software is granted
|
||||||
// provided this copyright notice appears in all copies.
|
// provided this copyright notice appears in all copies.
|
||||||
@ -295,17 +295,17 @@ namespace boost {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
|
|
||||||
# if BOOST_WORKAROUND(__HP_aCC, <= 33900)
|
# if BOOST_WORKAROUND(__HP_aCC, <= 33900)
|
||||||
template<bool cond, typename T> struct enable_if;
|
template<bool cond, typename T> struct enable_if;
|
||||||
# else
|
# else
|
||||||
template<bool, typename> struct enable_if;
|
template<bool, typename> struct enable_if;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
template<typename T> struct enable_if<true, T> { typedef T type; };
|
template<typename T> struct enable_if<true, T> { typedef T type; };
|
||||||
template<typename T> struct enable_if<false, T> {};
|
template<typename T> struct enable_if<false, T> {};
|
||||||
#else
|
#else
|
||||||
|
|
||||||
# if BOOST_WORKAROUND(__HP_aCC, <= 33900)
|
# if BOOST_WORKAROUND(__HP_aCC, <= 33900)
|
||||||
template<bool x>
|
template<bool x>
|
||||||
# else
|
# else
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Boost.Function library
|
// Boost.Function library
|
||||||
|
|
||||||
// Copyright (C) 2001-2002 Doug Gregor (gregod@cs.rpi.edu)
|
// Copyright (C) 2001-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
//
|
//
|
||||||
// Permission to copy, use, sell and distribute this software is granted
|
// Permission to copy, use, sell and distribute this software is granted
|
||||||
// provided this copyright notice appears in all copies.
|
// provided this copyright notice appears in all copies.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Boost.Function library
|
# Boost.Function library
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001,2002 Doug Gregor (gregod@cs.rpi.edu)
|
# Copyright (C) 2001-2003 Doug Gregor (gregod@cs.rpi.edu)
|
||||||
#
|
#
|
||||||
# Permission to copy, use, sell and distribute this software is granted
|
# Permission to copy, use, sell and distribute this software is granted
|
||||||
# provided this copyright notice appears in all copies.
|
# provided this copyright notice appears in all copies.
|
||||||
|
Reference in New Issue
Block a user