mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
stylistic
This commit is contained in:
@ -791,13 +791,15 @@ private:
|
||||
* access is always const regardless of group access.
|
||||
*/
|
||||
|
||||
static inline const value_type& cast_for(group_shared,value_type& x)
|
||||
{return x;}
|
||||
static inline const value_type&
|
||||
cast_for(group_shared,value_type& x){return x;}
|
||||
|
||||
static inline typename std::conditional<
|
||||
std::is_same<key_type,value_type>::value,
|
||||
const value_type&,
|
||||
value_type&
|
||||
>::type cast_for(group_exclusive,value_type& x){return x;}
|
||||
>::type
|
||||
cast_for(group_exclusive,value_type& x){return x;}
|
||||
|
||||
struct erase_on_exit
|
||||
{
|
||||
|
Reference in New Issue
Block a user