This commit is contained in:
Daniel James
2017-12-28 11:44:57 +00:00
parent 32773fb023
commit 9d558b010d
3 changed files with 14 additions and 20 deletions
+2 -4
View File
@@ -24,8 +24,7 @@ namespace test {
proxy& operator=(proxy const&);
};
template <class Iterator>
struct input_iterator_adaptor
template <class Iterator> struct input_iterator_adaptor
{
typedef BOOST_DEDUCED_TYPENAME std::iterator_traits<Iterator>::value_type
value_type;
@@ -65,8 +64,7 @@ namespace test {
return input_iterator_adaptor<Iterator>(it);
}
template <class Iterator>
struct copy_iterator_adaptor
template <class Iterator> struct copy_iterator_adaptor
{
typedef BOOST_DEDUCED_TYPENAME std::iterator_traits<Iterator>::value_type
value_type;
+2 -4
View File
@@ -81,8 +81,7 @@ namespace test {
list_data& operator=(list_data const&);
};
template <typename T>
class list_iterator
template <typename T> class list_iterator
{
friend class list_const_iterator<T>;
friend class test::list<T>;
@@ -118,8 +117,7 @@ namespace test {
bool operator!=(const_iterator y) const { return ptr_ != y.ptr_; }
};
template <typename T>
class list_const_iterator
template <typename T> class list_const_iterator
{
friend class list_iterator<T>;
friend class test::list<T>;