libmoost
/home/mhx/git/github/libmoost/include/moost/utils/bits.hpp File Reference
#include <stdexcept>
#include <boost/type_traits.hpp>
#include <boost/static_assert.hpp>
#include <boost/cstdint.hpp>
Include dependency graph for bits.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  moost
 

Creates a unique temporary directory; removed on scope exit.


namespace  moost::utils

Functions

template<typename unsigned_intT >
unsigned_intT moost::utils::next_power_of_two (unsigned_intT num)
template<typename unsigned_intT >
bool moost::utils::is_power_of_two (unsigned_intT num)
template<typename unsigned_intT >
signed char moost::utils::msb_set (unsigned_intT num)