mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
stylistic
This commit is contained in:
committed by
Christian Mazakas
parent
4569c1bec0
commit
447306bfb9
@ -33,23 +33,13 @@ struct plain_integral
|
||||
operator Integral()const{return n;}
|
||||
void operator=(Integral m){n=m;}
|
||||
|
||||
void operator|=(Integral m)
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000)
|
||||
n=static_cast<Integral>(n|m);
|
||||
void operator|=(Integral m){n=static_cast<Integral>(n|m);}
|
||||
void operator&=(Integral m){n=static_cast<Integral>(n&m);}
|
||||
#else
|
||||
n|=m;
|
||||
void operator|=(Integral m){n|=m;}
|
||||
void operator&=(Integral m){n&=m;}
|
||||
#endif
|
||||
}
|
||||
|
||||
void operator&=(Integral m)
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000)
|
||||
n=static_cast<Integral>(n&m);
|
||||
#else
|
||||
n&=m;
|
||||
#endif
|
||||
}
|
||||
|
||||
Integral n;
|
||||
};
|
||||
|
Reference in New Issue
Block a user