• Home
Name Date Size #Lines LOC

..--

doc/12-May-2024-37,35033,951

examples/12-May-2024-651365

meta/12-May-2024-263251

test/12-May-2024-28,50623,432

tools/12-May-2024-12393

CMakeLists.txtD12-May-2024898 3121

README.mdD12-May-20242.8 KiB4829

cxx_type_traits.htmD12-May-2024709 2013

index.htmlD12-May-2024605 2013

README.md

1Boost TypeTraits Library
2============================
3
4The Boost type-traits library contains a set of very specific traits classes, each of which encapsulate a single trait
5from 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?
6
7The 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.
8
9The 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
10volatile qualifier from a type. Each class that performs a transformation defines a single typedef-member type that is the result of the transformation.
11
12The full documentation is available on [boost.org](http://www.boost.org/doc/libs/release/libs/type_traits/index.html).
13
14|                  |  Master  |   Develop   |
15|------------------|----------|-------------|
16| Travis           | [![Build Status](https://travis-ci.org/boostorg/type_traits.svg?branch=master)](https://travis-ci.org/boostorg/type_traits)  |  [![Build Status](https://travis-ci.org/boostorg/type_traits.svg)](https://travis-ci.org/boostorg/type_traits) |
17| Appveyor         | [![Build status](https://ci.appveyor.com/api/projects/status/lwjqu4087qiolje8/branch/master?svg=true)](https://ci.appveyor.com/project/jzmaddock/type-traits/branch/master) | [![Build status](https://ci.appveyor.com/api/projects/status/lwjqu4087qiolje8/branch/develop?svg=true)](https://ci.appveyor.com/project/jzmaddock/type-traits/branch/develop)  |
18
19
20## Support, bugs and feature requests ##
21
22Bugs and feature requests can be reported through the [Gitub issue tracker](https://github.com/boostorg/type_traits/issues)
23(see [open issues](https://github.com/boostorg/type_traits/issues) and
24[closed issues](https://github.com/boostorg/type_traits/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed)).
25
26You can submit your changes through a [pull request](https://github.com/boostorg/type_traits/pulls).
27
28There is no mailing-list specific to Boost TypeTraits, although you can use the general-purpose Boost [mailing-list](http://lists.boost.org/mailman/listinfo.cgi/boost-users) using the tag [type_traits].
29
30
31## Development ##
32
33Clone the whole boost project, which includes the individual Boost projects as submodules ([see boost+git doc](https://github.com/boostorg/boost/wiki/Getting-Started)):
34
35    git clone https://github.com/boostorg/boost
36    cd boost
37    git submodule update --init
38
39The Boost TypeTraits Library is located in `libs/type_traits/`.
40
41### Running tests ###
42First, make sure you are in `libs/type_traits/test`.
43You can either run all the tests listed in `Jamfile.v2` or run a single test:
44
45    ../../../b2                        <- run all tests
46    ../../../b2 config_info            <- single test
47
48