Codechange: coding style fixes
This commit is contained in:
@@ -37,7 +37,7 @@ private:
|
||||
public:
|
||||
constexpr OverflowSafeInt() : m_value(0) { }
|
||||
|
||||
constexpr OverflowSafeInt(const OverflowSafeInt& other) : m_value(other.m_value) { }
|
||||
constexpr OverflowSafeInt(const OverflowSafeInt &other) : m_value(other.m_value) { }
|
||||
constexpr OverflowSafeInt(const T int_) : m_value(int_) { }
|
||||
|
||||
inline constexpr OverflowSafeInt& operator = (const OverflowSafeInt& other) { this->m_value = other.m_value; return *this; }
|
||||
|
@@ -142,8 +142,8 @@ struct Pool : PoolBase {
|
||||
template <class T>
|
||||
struct PoolIterator {
|
||||
typedef T value_type;
|
||||
typedef T* pointer;
|
||||
typedef T& reference;
|
||||
typedef T *pointer;
|
||||
typedef T &reference;
|
||||
typedef size_t difference_type;
|
||||
typedef std::forward_iterator_tag iterator_category;
|
||||
|
||||
@@ -186,8 +186,8 @@ struct Pool : PoolBase {
|
||||
template <class T, class F>
|
||||
struct PoolIteratorFiltered {
|
||||
typedef T value_type;
|
||||
typedef T* pointer;
|
||||
typedef T& reference;
|
||||
typedef T *pointer;
|
||||
typedef T &reference;
|
||||
typedef size_t difference_type;
|
||||
typedef std::forward_iterator_tag iterator_category;
|
||||
|
||||
|
@@ -39,7 +39,7 @@ template <class C, class E>
|
||||
struct is_compatible_container : std::bool_constant
|
||||
<
|
||||
has_size_and_data<C>::value
|
||||
&& is_compatible_element<C,E>::value
|
||||
&& is_compatible_element<C, E>::value
|
||||
>{};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user