1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add sprout/bitset.hpp

This commit is contained in:
bolero-MURAKAMI 2012-06-17 19:14:38 +09:00
parent 955561e36c
commit a2888b19bb
10 changed files with 1457 additions and 32 deletions

View file

@ -41,10 +41,10 @@ namespace sprout {
{
return lhs;
}
SPROUT_CONSTEXPR friend bool operator==(param_type const& lhs, param_type const& rhs) {
friend SPROUT_CONSTEXPR bool operator==(param_type const& lhs, param_type const& rhs) {
return true;
}
SPROUT_CONSTEXPR friend bool operator!=(param_type const& lhs, param_type const& rhs) {
friend SPROUT_CONSTEXPR bool operator!=(param_type const& lhs, param_type const& rhs) {
return !(lhs == rhs);
}
};
@ -116,10 +116,10 @@ namespace sprout {
{
return lhs;
}
SPROUT_CONSTEXPR friend bool operator==(uniform_01 const& lhs, uniform_01 const& rhs) {
friend SPROUT_CONSTEXPR bool operator==(uniform_01 const& lhs, uniform_01 const& rhs) {
return true;
}
SPROUT_CONSTEXPR friend bool operator!=(uniform_01 const& lhs, uniform_01 const& rhs) {
friend SPROUT_CONSTEXPR bool operator!=(uniform_01 const& lhs, uniform_01 const& rhs) {
return !(lhs == rhs);
}
};