Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::Trunc< S > Struct Template Reference

#include <converter_policies.hpp>

Public Types

typedef S source_type
 
typedef mpl::if_
< is_arithmetic< S >, S, S
const & >::type 
argument_type
 
typedef mpl::integral_c
< std::float_round_style,
std::round_toward_zero > 
round_style
 

Static Public Member Functions

static source_type nearbyint (argument_type s)
 

Member Typedef Documentation

template<class S >
typedef mpl::if_< is_arithmetic<S>,S,S const&>::type boost::numeric::Trunc< S >::argument_type
template<class S >
typedef mpl::integral_c< std::float_round_style, std::round_toward_zero> boost::numeric::Trunc< S >::round_style
template<class S >
typedef S boost::numeric::Trunc< S >::source_type

Member Function Documentation

template<class S >
static source_type boost::numeric::Trunc< S >::nearbyint ( argument_type  s)
inlinestatic

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