paludis Version 3.0.2
The one true package mangler
member_iterator-fwd.hh
1/* vim: set sw=4 sts=4 et foldmethod=syntax : */
2
3/*
4 * Copyright (c) 2007, 2008 Ciaran McCreesh
5 * Copyright (c) 2007 David Leverton
6 *
7 * This file is part of the Paludis package manager. Paludis is free software;
8 * you can redistribute it and/or modify it under the terms of the GNU General
9 * Public License version 2, as published by the Free Software Foundation.
10 *
11 * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 * details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
18 * Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21#ifndef PALUDIS_GUARD_PALUDIS_UTIL_MEMBER_ITERATOR_FWD_HH
22#define PALUDIS_GUARD_PALUDIS_UTIL_MEMBER_ITERATOR_FWD_HH 1
23
24#include <iterator>
25#include <type_traits>
26
27namespace paludis
28{
29 template <typename Value_, typename Iterator_,
30 Value_ std::remove_reference<typename std::iterator_traits<Iterator_>::value_type>::type::* member_>
31 class MemberIterator;
32
33 template <typename Iterator_>
34 struct FirstIteratorTypes;
35
36 template <typename Iterator_>
37 typename FirstIteratorTypes<Iterator_>::Type
38 first_iterator(Iterator_);
39
40 template <typename Iterator_>
42
43 template <typename Iterator_>
44 typename SecondIteratorTypes<Iterator_>::Type
45 second_iterator(Iterator_);
46}
47
48#endif
Definition member_iterator.hh:61
Definition about_metadata-fwd.hh:24
Definition member_iterator.hh:32
Definition member_iterator.hh:42