Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::detail::static_log2_impl::static_log2_impl< x, n > Struct Template Reference

#include <static_log2.hpp>

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, c=(x >> n) > 0)
 
 BOOST_STATIC_CONSTANT (result_type, value=c *n+(static_log2_impl< (x >>c *n), n/2 >::value))
 

Member Function Documentation

template<argument_type x, result_type n = initial_n>
boost::detail::static_log2_impl::static_log2_impl< x, n >::BOOST_STATIC_CONSTANT ( bool  ,
= (x >> n),
 
)
template<argument_type x, result_type n = initial_n>
boost::detail::static_log2_impl::static_log2_impl< x, n >::BOOST_STATIC_CONSTANT ( result_type  ,
value  = c *n+(static_log2_impl< (x >>c *n), n/2 >::value) 
)

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