Go to file
2019-11-01 16:45:06 +00:00
.circleci clean up inspection failures and add circle-ci testing. 2019-08-22 19:17:36 +01:00
doc Implement copy_reference and copy_cv_ref 2019-02-23 00:05:35 -05:00
examples Merge typo fixes from Michel Morin from Trunk. 2012-12-28 18:39:22 +00:00
include/boost is_function_cxx_11.hpp: There's no __fastcall on clr. 2019-06-13 11:49:46 +01:00
meta clean up inspection failures and add circle-ci testing. 2019-08-22 19:17:36 +01:00
test clean up inspection failures and add circle-ci testing. 2019-08-22 19:17:36 +01:00
tools Changed over to new boost license 2003-10-07 10:51:54 +00:00
.gitattributes This commit was generated by cvs2svn to compensate for changes in r4, 2000-07-07 16:04:40 +00:00
.travis.yml Add clang-8 and gcc-9 to CI tests. 2019-06-28 11:53:12 +01:00
appveyor.yml is_function_cxx_11.hpp: There's no __fastcall on clr. 2019-06-13 11:49:46 +01:00
CMakeLists.txt [CMake] Add minimal cmake file 2018-10-25 12:07:01 +02:00
cxx_type_traits.htm Merge inspection report fix. 2008-02-07 10:32:11 +00:00
index.html Full merge from trunk at revision 41356 of entire boost-root tree. 2007-11-25 18:38:02 +00:00
README.md Add CI badges. 2018-11-06 19:37:09 +00:00

Boost TypeTraits Library

The Boost type-traits library contains a set of very specific traits classes, each of which encapsulate a single trait from the C++ type system; for example, is a type a pointer or a reference type? Or does a type have a trivial constructor, or a const-qualifier?

The type-traits classes share a unified design: each class inherits from the type true_type if the type has the specified property and inherits from false_type otherwise.

The type-traits library also contains a set of classes that perform a specific transformation on a type; for example, they can remove a top-level const or volatile qualifier from a type. Each class that performs a transformation defines a single typedef-member type that is the result of the transformation.

The full documentation is available on boost.org.

Master Develop
Travis Build Status Build Status
Appveyor Build status Build status

Support, bugs and feature requests

Bugs and feature requests can be reported through the Gitub issue tracker (see open issues and closed issues).

You can submit your changes through a pull request.

There is no mailing-list specific to Boost TypeTraits, although you can use the general-purpose Boost mailing-list using the tag [type_traits].

Development

Clone the whole boost project, which includes the individual Boost projects as submodules (see boost+git doc):

git clone https://github.com/boostorg/boost
cd boost
git submodule update --init

The Boost TypeTraits Library is located in libs/type_traits/.

Running tests

First, make sure you are in libs/type_traits/test. You can either run all the tests listed in Jamfile.v2 or run a single test:

../../../b2                        <- run all tests
../../../b2 config_info            <- single test