aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/indirect_iterator.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
commit118de550d2dc5508ff4446bdf7f2ddf7b497b9ba (patch)
tree5ced2de062474cb8e6537e68d71cbc7c5a80e802 /paludis/util/indirect_iterator.hh
parentf76a3a0a7b38b5a3652a9e9bcb13942483f7c53a (diff)
downloadpaludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.gz
paludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.xz
paludis::tr1:: is dead. We no longer support compilers that don't do tr1 (that means you, gcc-3).
Diffstat (limited to 'paludis/util/indirect_iterator.hh')
-rw-r--r--paludis/util/indirect_iterator.hh20
1 files changed, 10 insertions, 10 deletions
diff --git a/paludis/util/indirect_iterator.hh b/paludis/util/indirect_iterator.hh
index cf76d0896..78259978b 100644
--- a/paludis/util/indirect_iterator.hh
+++ b/paludis/util/indirect_iterator.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007 Ciaran McCreesh
+ * Copyright (c) 2007, 2008 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -22,9 +22,9 @@
#include <paludis/util/indirect_iterator-fwd.hh>
#include <paludis/util/operators.hh>
-#include <paludis/util/tr1_memory.hh>
-#include <paludis/util/tr1_functional.hh>
-#include <paludis/util/tr1_type_traits.hh>
+#include <tr1/memory>
+#include <tr1/functional>
+#include <tr1/type_traits>
namespace paludis
{
@@ -41,13 +41,13 @@ namespace paludis
};
template <typename T_>
- struct IndirectIteratorValueType<tr1::shared_ptr<T_> >
+ struct IndirectIteratorValueType<std::tr1::shared_ptr<T_> >
{
typedef T_ Type;
};
template <typename T_>
- struct IndirectIteratorValueType<tr1::shared_ptr<const T_> >
+ struct IndirectIteratorValueType<std::tr1::shared_ptr<const T_> >
{
typedef const T_ Type;
};
@@ -65,7 +65,7 @@ namespace paludis
};
/**
- * An IndirectIterator turns an iterator over T_ * or tr1::shared_ptr<T_> into an iterator
+ * An IndirectIterator turns an iterator over T_ * or std::tr1::shared_ptr<T_> into an iterator
* over T_.
*
* \ingroup g_iterator
@@ -96,9 +96,9 @@ namespace paludis
///\name Standard library typedefs
///\{
- typedef typename tr1::remove_reference<Value_>::type & value_type;
- typedef typename tr1::remove_reference<Value_>::type & reference;
- typedef typename tr1::remove_reference<Value_>::type * pointer;
+ typedef typename std::tr1::remove_reference<Value_>::type & value_type;
+ typedef typename std::tr1::remove_reference<Value_>::type & reference;
+ typedef typename std::tr1::remove_reference<Value_>::type * pointer;
typedef std::ptrdiff_t difference_type;
typedef std::forward_iterator_tag iterator_category;