mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 21:04:28 +02:00
in boost/config/suffix.hpp: changed copyright notices to the generally preferred form; fixed license reference; added trailing slashes to a couple of URLs; fixed a typo ("analagous"); slightly reformatted my own code and comments (normally we wouldn't have touched this file for non-essential issues, but since it has already been modified, recently...)
[SVN r48290]
This commit is contained in:
@@ -1,21 +1,22 @@
|
|||||||
// Boost config.hpp configuration header file ------------------------------//
|
// Boost config.hpp configuration header file ------------------------------//
|
||||||
|
|
||||||
// (C) Copyright John Maddock 2001 - 2003.
|
// Copyright (c) 2001-2003 John Maddock
|
||||||
// (C) Copyright Darin Adler 2001.
|
// Copyright (c) 2001 Darin Adler
|
||||||
// (C) Copyright Peter Dimov 2001.
|
// Copyright (c) 2001 Peter Dimov
|
||||||
// (C) Copyright Bill Kempf 2002.
|
// Copyright (c) 2002 Bill Kempf
|
||||||
// (C) Copyright Jens Maurer 2002.
|
// Copyright (c) 2002 Jens Maurer
|
||||||
// (C) Copyright David Abrahams 2002 - 2003.
|
// Copyright (c) 2002-2003 David Abrahams
|
||||||
// (C) Copyright Gennaro Prota 2003.
|
// Copyright (c) 2003 Gennaro Prota
|
||||||
// (C) Copyright Eric Friedman 2003.
|
// Copyright (c) 2003 Eric Friedman
|
||||||
// Use, modification and distribution are subject to the
|
//
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Distributed under the Boost Software License, Version 1.0. (See
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version.
|
// See http://www.boost.org/ for most recent version.
|
||||||
|
|
||||||
// Boost config.hpp policy and rationale documentation has been moved to
|
// Boost config.hpp policy and rationale documentation has been moved to
|
||||||
// http://www.boost.org/libs/config
|
// http://www.boost.org/libs/config/
|
||||||
//
|
//
|
||||||
// This file is intended to be stable, and relatively unchanging.
|
// This file is intended to be stable, and relatively unchanging.
|
||||||
// It should contain boilerplate code only - no compiler specific
|
// It should contain boilerplate code only - no compiler specific
|
||||||
@@ -372,7 +373,7 @@ namespace std {
|
|||||||
// with
|
// with
|
||||||
// BOOST_USE_FACET(Type, loc);
|
// BOOST_USE_FACET(Type, loc);
|
||||||
// Note do not add a std:: prefix to the front of BOOST_USE_FACET!
|
// Note do not add a std:: prefix to the front of BOOST_USE_FACET!
|
||||||
// Use for BOOST_HAS_FACET is analagous.
|
// Use for BOOST_HAS_FACET is analogous.
|
||||||
|
|
||||||
#if defined(BOOST_NO_STD_USE_FACET)
|
#if defined(BOOST_NO_STD_USE_FACET)
|
||||||
# ifdef BOOST_HAS_TWO_ARG_USE_FACET
|
# ifdef BOOST_HAS_TWO_ARG_USE_FACET
|
||||||
@@ -453,12 +454,11 @@ namespace boost{
|
|||||||
|
|
||||||
// BOOST_[APPEND_]EXPLICIT_TEMPLATE_[NON_]TYPE macros --------------------------//
|
// BOOST_[APPEND_]EXPLICIT_TEMPLATE_[NON_]TYPE macros --------------------------//
|
||||||
//
|
//
|
||||||
// Some compilers have problems with function templates whose
|
// Some compilers have problems with function templates whose template
|
||||||
// template parameters don't appear in the function parameter
|
// parameters don't appear in the function parameter list (basically
|
||||||
// list (basically they just link one instantiation of the
|
// they just link one instantiation of the template in the final
|
||||||
// template in the final executable). These macros provide a
|
// executable). These macros provide a uniform way to cope with the
|
||||||
// uniform way to cope with the problem with no effects on the
|
// problem with no effects on the calling syntax.
|
||||||
// calling syntax.
|
|
||||||
|
|
||||||
// Example:
|
// Example:
|
||||||
//
|
//
|
||||||
@@ -499,18 +499,18 @@ namespace boost{
|
|||||||
# include "boost/type.hpp"
|
# include "boost/type.hpp"
|
||||||
# include "boost/non_type.hpp"
|
# include "boost/non_type.hpp"
|
||||||
|
|
||||||
# define BOOST_EXPLICIT_TEMPLATE_TYPE(t) boost::type<t>* = 0
|
# define BOOST_EXPLICIT_TEMPLATE_TYPE(t) boost::type<t>* = 0
|
||||||
# define BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t) boost::type<t>*
|
# define BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t) boost::type<t>*
|
||||||
# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v) boost::non_type<t, v>* = 0
|
# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v) boost::non_type<t, v>* = 0
|
||||||
# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) boost::non_type<t, v>*
|
# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) boost::non_type<t, v>*
|
||||||
|
|
||||||
# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(t) \
|
# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(t) \
|
||||||
, BOOST_EXPLICIT_TEMPLATE_TYPE(t)
|
, BOOST_EXPLICIT_TEMPLATE_TYPE(t)
|
||||||
# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(t) \
|
# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(t) \
|
||||||
, BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t)
|
, BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t)
|
||||||
# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(t, v) \
|
# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(t, v) \
|
||||||
, BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v)
|
, BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v)
|
||||||
# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) \
|
# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) \
|
||||||
, BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v)
|
, BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user