mirror of
https://github.com/boostorg/type_traits.git
synced 2025-07-29 20:17:21 +02:00
Added license info.
[SVN r40903]
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:add_const add_const]
|
||||
|
||||
template <class T>
|
||||
@ -31,3 +38,4 @@ __header ` #include <boost/type_traits/add_const.hpp>` or ` #include <boost/type
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:add_cv add_cv]
|
||||
|
||||
template <class T>
|
||||
@ -31,3 +38,4 @@ __header ` #include <boost/type_traits/add_cv.hpp>` or ` #include <boost/type_tr
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:add_pointer add_pointer]
|
||||
|
||||
template <class T>
|
||||
@ -35,3 +42,4 @@ __header ` #include <boost/type_traits/add_pointer.hpp>` or ` #include <boost/ty
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:add_reference add_reference]
|
||||
|
||||
template <class T>
|
||||
@ -31,3 +38,4 @@ __header ` #include <boost/type_traits/add_reference.hpp>` or ` #include <boost/
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:add_volatile add_volatile]
|
||||
|
||||
template <class T>
|
||||
@ -31,3 +38,4 @@ __header ` #include <boost/type_traits/add_volatile.hpp>` or ` #include <boost/t
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:aligned_storage aligned_storage]
|
||||
|
||||
template <std::size_t Size, std::size_t Align>
|
||||
@ -12,3 +19,4 @@ that is a multiple of `Align`.
|
||||
__header ` #include <boost/type_traits/aligned_storage.hpp>` or ` #include <boost/type_traits.hpp>`
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:alignment_of alignment_of]
|
||||
template <class T>
|
||||
struct alignment_of : public __integral_constant<std::size_t, ALIGNOF(T)> {};
|
||||
@ -24,3 +31,4 @@ expression with value `ALIGNOF(double)`.]
|
||||
[:`alignment_of<T>::value_type` is the type `std::size_t`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:alignment Synthesizing Types with Specific Alignments]
|
||||
|
||||
Some low level memory management routines need to synthesize a POD type with
|
||||
@ -14,3 +21,4 @@ with a specific size and alignment.
|
||||
struct __aligned_storage;
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:background Background and Tutorial]
|
||||
|
||||
The following is an updated version of the article "C++ Type traits"
|
||||
@ -312,3 +319,4 @@ helpful comments when preparing this article.
|
||||
|
||||
[endsect]
|
||||
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:credits Credits]
|
||||
|
||||
This documentation was pulled together by John Maddock, using
|
||||
@ -31,3 +38,4 @@ should be directed to boost@lists.boost.org
|
||||
www.boost.org/more/mailing_lists.htm#main] for subscription details).
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:decay decay]
|
||||
|
||||
template <class T>
|
||||
@ -30,3 +37,4 @@ __header ` #include <boost/type_traits/decay.hpp>` or ` #include <boost/type_tra
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:function Decomposing Function Types]
|
||||
|
||||
The class template __function_traits extracts information from function types
|
||||
@ -10,3 +17,4 @@ a function takes, what those argument types are, and what the return type is.
|
||||
struct __function_traits;
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:examples Examples]
|
||||
|
||||
[section:copy An Optimized Version of std::copy]
|
||||
@ -209,3 +216,4 @@ and enum types to double:
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:extent extent]
|
||||
template <class T, std::size_t N = 0>
|
||||
struct extent : public __integral_constant<std::size_t, EXTENT(T,N)> {};
|
||||
@ -31,3 +38,4 @@ expression that evaluates to /0/.]
|
||||
[:`extent<T>::value_type` is the type `std::size_t`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:floating_point_promotion floating_point_promotion]
|
||||
|
||||
template <class T>
|
||||
@ -27,3 +34,4 @@ __header ` #include <boost/type_traits/floating_point_promotion.hpp>` or ` #incl
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:function_traits function_traits]
|
||||
[def __argN '''arg<replaceable>N</replaceable>_type''']
|
||||
|
||||
@ -46,3 +53,4 @@ type use __remove_pointer.]
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_nothrow_assign has_nothrow_assign]
|
||||
|
||||
template <class T>
|
||||
@ -19,3 +26,4 @@ trait "just works".
|
||||
__header ` #include <boost/type_traits/has_nothrow_assign.hpp>` or ` #include <boost/type_traits.hpp>`
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_nothrow_constructor has_nothrow_constructor]
|
||||
|
||||
template <class T>
|
||||
@ -24,3 +31,4 @@ trait "just works".
|
||||
__header ` #include <boost/type_traits/has_nothrow_constructor.hpp>` or ` #include <boost/type_traits.hpp>`
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_nothrow_copy has_nothrow_copy]
|
||||
|
||||
template <class T>
|
||||
@ -24,3 +31,4 @@ trait "just works".
|
||||
__header ` #include <boost/type_traits/has_nothrow_copy.hpp>` or ` #include <boost/type_traits.hpp>`
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_trivial_assign has_trivial_assign]
|
||||
template <class T>
|
||||
struct has_trivial_assign : public __tof {};
|
||||
@ -37,3 +44,4 @@ expression that evaluates to /false/.]
|
||||
[:`has_trivial_assign<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_trivial_constructor has_trivial_constructor]
|
||||
|
||||
template <class T>
|
||||
@ -45,3 +52,4 @@ expression that evaluates to /false/.]
|
||||
[:`has_trivial_constructor<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_trivial_copy has_trivial_copy]
|
||||
|
||||
template <class T>
|
||||
@ -43,3 +50,4 @@ expression that evaluates to /false/.]
|
||||
[:`has_trivial_copy<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_trivial_destructor has_trivial_destructor]
|
||||
template <class T>
|
||||
struct has_trivial_destructor : public __tof {};
|
||||
@ -39,3 +46,4 @@ expression that evaluates to /false/.]
|
||||
[:`has_trivial_destructor<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:has_virtual_destructor has_virtual_destructor]
|
||||
template <class T>
|
||||
struct has_virtual_destructor : public __tof {};
|
||||
@ -18,3 +25,4 @@ __std_ref 12.4.
|
||||
__header ` #include <boost/type_traits/has_virtual_destructor.hpp>` or ` #include <boost/type_traits.hpp>`
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:integral_constant integral_constant]
|
||||
template <class T, T val>
|
||||
struct integral_constant
|
||||
@ -16,3 +23,4 @@ convenience: most of the value traits are Boolean properties and so will inherit
|
||||
one of these.
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:integral_promotion integral_promotion]
|
||||
|
||||
template <class T>
|
||||
@ -27,3 +34,4 @@ __header ` #include <boost/type_traits/integral_promotion.hpp>` or ` #include <b
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:intrinsics Support for Compiler Intrinsics]
|
||||
|
||||
There are some traits that can not be implemented within the current C++ language:
|
||||
@ -52,3 +59,4 @@ a matter of defining one of more of the following macros:
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_abstract is_abstract]
|
||||
template <class T>
|
||||
struct is_abstract : public __tof {};
|
||||
@ -31,3 +38,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_abstract<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_arithmetic is_arithmetic]
|
||||
template <class T>
|
||||
struct is_arithmetic : public __tof {};
|
||||
@ -22,3 +29,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_arithmetic<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_array is_array]
|
||||
template <class T>
|
||||
struct is_array : public __tof {};
|
||||
@ -25,3 +32,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_array<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_base_of is_base_of]
|
||||
template <class Base, class Derived>
|
||||
struct is_base_of : public __tof {};
|
||||
@ -44,3 +51,4 @@ expression that evaluates to /true/: a class is regarded as it's own base.]
|
||||
[:`is_base_of<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_class is_class]
|
||||
template <class T>
|
||||
struct is_class : public __tof {};
|
||||
@ -35,3 +42,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_class<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_complex is_complex]
|
||||
|
||||
template <class T>
|
||||
@ -11,3 +18,4 @@ __std_ref 26.2.
|
||||
__header ` #include <boost/type_traits/is_complex.hpp>` or ` #include <boost/type_traits.hpp>`
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_compound is_compound]
|
||||
template <class T>
|
||||
struct is_compound : public __tof {};
|
||||
@ -28,3 +35,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_compound<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_const is_const]
|
||||
|
||||
template <class T>
|
||||
@ -33,3 +40,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_const<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_convertible is_convertible]
|
||||
template <class From, class To>
|
||||
struct is_convertible : public __tof {};
|
||||
@ -56,3 +63,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_convertible<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_empty is_empty]
|
||||
template <class T>
|
||||
struct is_empty : public __tof {};
|
||||
@ -35,3 +42,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_empty<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_enum is_enum]
|
||||
template <class T>
|
||||
struct is_enum : public __tof {};
|
||||
@ -34,3 +41,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_enum<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_floating_point is_floating_point]
|
||||
template <class T>
|
||||
struct is_floating_point : public __tof {};
|
||||
@ -21,3 +28,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_floating_point<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_function is_function]
|
||||
|
||||
template <class T>
|
||||
@ -64,3 +71,4 @@ __is_member_function_pointer directly.
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_fundamental is_fundamental]
|
||||
template <class T>
|
||||
struct is_fundamental : public __tof {};
|
||||
@ -22,3 +29,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_fundamental<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_integral is_integral]
|
||||
template <class T>
|
||||
struct is_integral : public __tof {};
|
||||
@ -21,3 +28,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_integral<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_member_function_pointer is_member_function_pointer]
|
||||
template <class T>
|
||||
struct is_member_function_pointer : public __tof {};
|
||||
@ -27,3 +34,4 @@ and __is_member_pointer]
|
||||
[:`is_member_function_pointer<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_member_object_pointer is_member_object_pointer]
|
||||
template <class T>
|
||||
struct is_member_object_pointer : public __tof {};
|
||||
@ -27,3 +34,4 @@ and __is_member_pointer]
|
||||
[:`is_member_object_pointer<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_member_pointer is_member_pointer]
|
||||
template <class T>
|
||||
struct is_member_pointer : public __tof {};
|
||||
@ -23,3 +30,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_member_pointer<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_object is_object]
|
||||
template <class T>
|
||||
struct is_object : public __tof {};
|
||||
@ -35,3 +42,4 @@ expression that evaluates to /false/: void is not an object type]
|
||||
[:`is_object<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_pod is_pod]
|
||||
template <class T>
|
||||
struct is_pod : public __tof {};
|
||||
@ -41,3 +48,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_pod<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_pointer is_pointer]
|
||||
template <class T>
|
||||
struct is_pointer : public __tof {};
|
||||
@ -35,3 +42,4 @@ However, note that there is no way in general to auto-magically detect smart poi
|
||||
so such a trait would have to be partially specialised for each supported smart pointer type.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_polymorphic is_polymorphic]
|
||||
template <class T>
|
||||
struct is_polymorphic : public __tof {};
|
||||
@ -27,3 +34,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_polymorphic<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_reference is_reference]
|
||||
template <class T>
|
||||
struct is_reference : public __tof {};
|
||||
@ -27,3 +34,4 @@ a reference to a function).]
|
||||
[:`is_reference<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_same is_same]
|
||||
template <class T, class U>
|
||||
struct is_same : public __tof {};
|
||||
@ -28,3 +35,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_same<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_scalar is_scalar]
|
||||
template <class T>
|
||||
struct is_scalar : public __tof {};
|
||||
@ -34,3 +41,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_scalar<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_signed is_signed]
|
||||
|
||||
template <class T>
|
||||
@ -32,3 +39,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_signed<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_stateless is_stateless]
|
||||
template <class T>
|
||||
struct is_stateless : public __tof {};
|
||||
@ -30,3 +37,4 @@ if possibly sub-optimal. Currently (May 2005) only MWCW 9 and Visual C++ 8 have
|
||||
compiler __intrinsics to make this template work automatically.
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_union is_union]
|
||||
template <class T>
|
||||
struct is_union : public __tof {};
|
||||
@ -33,3 +40,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_union<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_unsigned is_unsigned]
|
||||
|
||||
template <class T>
|
||||
@ -32,3 +39,4 @@ expression that evaluates to /true/.]
|
||||
[:`is_unsigned<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_void is_void]
|
||||
template <class T>
|
||||
struct is_void : public __tof {};
|
||||
@ -24,3 +31,4 @@ expression that evaluates to /false/.]
|
||||
[:`is_void<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:is_volatile is_volatile]
|
||||
template <class T>
|
||||
struct is_volatile : public __tof {};
|
||||
@ -25,3 +32,4 @@ at the top level in this case.]
|
||||
[:`is_volatile<T>::value_type` is the type `bool`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:make_signed make_signed]
|
||||
|
||||
template <class T>
|
||||
@ -37,3 +44,4 @@ __header ` #include <boost/type_traits/make_signed.hpp>` or ` #include <boost/ty
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:make_unsigned make_unsigned]
|
||||
|
||||
template <class T>
|
||||
@ -37,3 +44,4 @@ __header ` #include <boost/type_traits/make_unsigned.hpp>` or ` #include <boost/
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:mpl MPL Interoperability]
|
||||
|
||||
All the value based traits in this library conform to MPL's requirements
|
||||
@ -10,3 +17,4 @@ from [@../../libs/mpl/doc/refmanual/bool.html `boost::mpl::false_`], and `__inte
|
||||
[@../../libs/mpl/doc/refmanual/integral-c.html `boost::mpl::integral_c<T,v>`] (provided `T` is not `bool`)
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:promote promote]
|
||||
|
||||
template <class T>
|
||||
@ -28,3 +35,4 @@ __header ` #include <boost/type_traits/promote.hpp>` or ` #include <boost/type_t
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:rank rank]
|
||||
template <class T>
|
||||
struct rank : public __integral_constant<std::size_t, RANK(T)> {};
|
||||
@ -27,3 +34,4 @@ expression that evaluates to /0/.]
|
||||
[:`rank<T>::value_type` is the type `std::size_t`.]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:remove_all_extents remove_all_extents]
|
||||
|
||||
template <class T>
|
||||
@ -34,3 +41,4 @@ __header ` #include <boost/type_traits/remove_all_extents.hpp>` or ` #include <b
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:remove_const remove_const]
|
||||
|
||||
template <class T>
|
||||
@ -33,3 +40,4 @@ __header ` #include <boost/type_traits/remove_const.hpp>` or ` #include <boost/t
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:remove_cv remove_cv]
|
||||
|
||||
template <class T>
|
||||
@ -33,3 +40,4 @@ __header ` #include <boost/type_traits/remove_cv.hpp>` or ` #include <boost/type
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:remove_extent remove_extent]
|
||||
|
||||
template <class T>
|
||||
@ -34,3 +41,4 @@ __header ` #include <boost/type_traits/remove_extent.hpp>` or ` #include <boost/
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:remove_pointer remove_pointer]
|
||||
|
||||
template <class T>
|
||||
@ -33,3 +40,4 @@ __header ` #include <boost/type_traits/remove_pointer.hpp>` or ` #include <boost
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:remove_reference remove_reference]
|
||||
|
||||
template <class T>
|
||||
@ -31,3 +38,4 @@ __header ` #include <boost/type_traits/remove_reference.hpp>` or ` #include <boo
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:remove_volatile remove_volatile]
|
||||
|
||||
template <class T>
|
||||
@ -33,3 +40,4 @@ __header ` #include <boost/type_traits/remove_volatile.hpp>` or ` #include <boos
|
||||
]
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:transform Type Traits that Transform One Type to Another]
|
||||
|
||||
The following templates transform one type to another,
|
||||
@ -108,3 +115,4 @@ Note that the macro BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION evaluates
|
||||
to nothing on those compilers that *do* support partial specialization.
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[library Boost.TypeTraits
|
||||
[quickbook 1.4]
|
||||
[copyright 2000 2006 Adobe Systems Inc, David Abrahams, Steve Cleary,
|
||||
@ -238,3 +245,4 @@ See __has_trivial_constructor.
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:type_with_alignment type_with_alignment]
|
||||
|
||||
template <std::size_t Align>
|
||||
@ -12,3 +19,4 @@ that is a multiple of `Align`.
|
||||
__header ` #include <boost/type_traits/type_with_alignment.hpp>` or ` #include <boost/type_traits.hpp>`
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:user_defined User Defined Specializations]
|
||||
|
||||
Occationally the end user may need to provide their own specialization
|
||||
@ -33,3 +40,4 @@ as appropriate:
|
||||
}
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
[/
|
||||
Copyright 2007 John Maddock.
|
||||
Distributed under 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).
|
||||
]
|
||||
|
||||
[section:value_traits Type Traits that Describe the Properties of a Type]
|
||||
|
||||
These traits are all /value traits/, which is to say the traits classes all
|
||||
@ -184,4 +191,4 @@ between two types:
|
||||
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
[endsect]
|
||||
|
Reference in New Issue
Block a user