Home | Libraries | People | FAQ | More |
Copyright © 2004-2007 Fernando Luis Cacciola Carballal
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)
Table of Contents
The Boost Numeric Conversion library is a collection of tools to describe and perform conversions between values of different numeric types.
The library includes a special alternative for a subset of std::numeric_limits<>
, the bounds<>
traits class, which provides a consistent way to obtain the boundary
values for the range
of a numeric type.
It also includes a set of trait classes which describes the compile-time properties of a conversion from a source to a target numeric type. Both arithmetic and user-defined numeric types can be used.
A policy-based converter
object which uses conversion_traits
to select an optimized implementation is supplied. Such implementation uses
an optimal range checking code suitable for the source/target combination.
Last revised: December 05, 2018 at 20:03:29 GMT |