Public Types | Public Member Functions
boost::detail::lcast_precision< T > Struct Template Reference

#include <lcast_precision.hpp>

List of all members.

Public Types

typedef BOOST_DEDUCED_TYPENAME
boost::mpl::if_
< boost::is_abstract< T >
, std::numeric_limits
< lcast_abstract_stub >
, std::numeric_limits< T >
>::type 
limits

Public Member Functions

 BOOST_STATIC_ASSERT (!is_specialized_dec||precision_dec<=streamsize_max+0UL)
 BOOST_STATIC_ASSERT (!is_specialized_bin||(limits::digits+0UL< ULONG_MAX/30103UL &&precision_bin > limits::digits10+0UL &&precision_bin<=streamsize_max+0UL))
 BOOST_STATIC_CONSTANT (bool, use_default_precision=!limits::is_specialized||limits::is_exact)
 BOOST_STATIC_CONSTANT (bool, is_specialized_bin=!use_default_precision &&limits::radix==2 &&limits::digits > 0)
 BOOST_STATIC_CONSTANT (bool, is_specialized_dec=!use_default_precision &&limits::radix==10 &&limits::digits10 > 0)
 BOOST_STATIC_CONSTANT (std::streamsize, streamsize_max=boost::integer_traits< std::streamsize >::const_max)
 BOOST_STATIC_CONSTANT (unsigned int, precision_dec=limits::digits10+1U)
 BOOST_STATIC_CONSTANT (unsigned long, precision_bin=2UL+limits::digits *30103UL/100000UL)
 BOOST_STATIC_CONSTANT (std::streamsize, value=is_specialized_bin?precision_bin:is_specialized_dec?precision_dec:6)

Detailed Description

template<class T>
struct boost::detail::lcast_precision< T >

Definition at line 45 of file lcast_precision.hpp.


Member Typedef Documentation

template<class T >
typedef BOOST_DEDUCED_TYPENAME boost::mpl::if_< boost::is_abstract<T> , std::numeric_limits<lcast_abstract_stub> , std::numeric_limits<T> >::type boost::detail::lcast_precision< T >::limits

Definition at line 54 of file lcast_precision.hpp.


Member Function Documentation

template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_ASSERT ( !is_specialized_dec||precision_dec<=streamsize_max+  0UL)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_ASSERT ( !is_specialized_bin||  limits::digits+0UL< ULONG_MAX/30103UL &&precision_bin > limits::digits10+0UL &&precision_bin<=streamsize_max+0UL)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_CONSTANT ( bool  ,
use_default_precision  = !limits::is_specialized||limits::is_exact 
)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_CONSTANT ( bool  ,
is_specialized_bin  = !use_default_precision &&limits::radix==2 &&limits::digits,
 
)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_CONSTANT ( bool  ,
is_specialized_dec  = !use_default_precision &&limits::radix==10 &&limits::digits10,
 
)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_CONSTANT ( std::streamsize  ,
streamsize_max  = boost::integer_traits< std::streamsize >::const_max 
)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_CONSTANT ( unsigned  int,
precision_dec  = limits::digits10+1U 
)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_CONSTANT ( unsigned  long,
precision_bin  = 2UL+limits::digits *30103UL/100000UL 
)
template<class T >
boost::detail::lcast_precision< T >::BOOST_STATIC_CONSTANT ( std::streamsize  ,
value  = is_specialized_bin?precision_bin:is_specialized_dec?precision_dec:6 
)

The documentation for this struct was generated from the following file:


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30