Skip to content

Commit

Permalink
Remove add_reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Constellation committed Aug 27, 2012
1 parent ad0379d commit c09d8f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions iv/fixed_container.h
Expand Up @@ -18,8 +18,8 @@ class FixedContainer {
typedef typename std::add_pointer<const value_type>::type const_pointer;
typedef pointer iterator;
typedef const_pointer const_iterator;
typedef typename std::add_reference<T>::type reference;
typedef typename std::add_const<reference>::type const_reference;
typedef T& reference;
typedef const T& const_reference;
typedef std::reverse_iterator<iterator> reverse_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
typedef std::size_t size_type;
Expand Down
2 changes: 1 addition & 1 deletion iv/intrusive_list.h
Expand Up @@ -69,7 +69,7 @@ class IntrusiveListIterator
typedef typename intrusive_list_detail::Prefix<value_type*, IsConst>::type pointer; // NOLINT
typedef typename std::add_pointer<const typename std::remove_pointer<pointer>::type>::type const_pointer; // NOLINT
typedef typename intrusive_list_detail::Prefix<value_type&, IsConst>::type reference; // NOLINT
typedef typename std::add_reference<const typename std::remove_reference<reference>::type>::type const_reference; // NOLINT
typedef const typename std::remove_reference<reference>::type& const_reference; // NOLINT
typedef typename super_type::difference_type difference_type;

typedef IntrusiveListIterator<T, false> iterator;
Expand Down

0 comments on commit c09d8f0

Please sign in to comment.