#ifndef BOOST_HISTOGRAM_AXIS_OPTION_HPP
#define BOOST_HISTOGRAM_AXIS_OPTION_HPP
-#include <boost/mp11.hpp>
#include <type_traits>
/**
/// Returns true if all option flags in the argument are set and false otherwise.
template <unsigned B>
static constexpr auto test(bitset<B>) {
- return std::integral_constant<bool, static_cast<bool>(Bits & B)>{};
+ return std::integral_constant<bool, static_cast<bool>((Bits & B) == B)>{};
}
};