add sprout/random/default_random_engine.hpp

fix sprout/functional/bit_not.hpp
This commit is contained in:
bolero-MURAKAMI 2012-06-14 00:41:15 +09:00
parent 37775f9280
commit 2b8a8662af
9 changed files with 39 additions and 18 deletions

View file

@ -12,7 +12,7 @@ namespace sprout {
typedef T result_type;
public:
SPROUT_CONSTEXPR T operator()(T const& x) const {
return !x;
return ~x;
}
};
} // namespace sprout