struct SearchDirIteratorImpl
Declaration
template <bool IsConst>
struct SearchDirIteratorImpl { /* full declaration omitted */ };
Description
Forward iterator over the search directories of \c HeaderSearch.
Declared at: clang/include/clang/Lex/HeaderSearch.h:162
Templates
- bool IsConst
Member Variables
- private Qualified<IsConst, clang::HeaderSearch>* HS
- The parent \c HeaderSearch. This is \c nullptr for invalid iterator.
- private size_t Idx
- The index of the current element.
Method Overview
- public SearchDirIteratorImpl<IsConst>(const SearchDirIteratorImpl<IsConst> &)
- public SearchDirIteratorImpl<IsConst>(std::nullptr_t)
- private SearchDirIteratorImpl<IsConst>(Qualified<IsConst, clang::HeaderSearch> & HS, size_t Idx)
- public template <typename Enable = std::enable_if<IsConst, bool>> SearchDirIteratorImpl<IsConst>(const SearchDirIteratorImpl<false> & Other)
- public bool operator bool() const
Methods
¶SearchDirIteratorImpl<IsConst>(
const SearchDirIteratorImpl<IsConst>&)
SearchDirIteratorImpl<IsConst>(
const SearchDirIteratorImpl<IsConst>&)
Declared at: clang/include/clang/Lex/HeaderSearch.h:171
Parameters
- const SearchDirIteratorImpl<IsConst>&
¶SearchDirIteratorImpl<IsConst>(std::nullptr_t)
SearchDirIteratorImpl<IsConst>(std::nullptr_t)
Description
Creates an invalid iterator.
Declared at: clang/include/clang/Lex/HeaderSearch.h:191
Parameters
¶SearchDirIteratorImpl<IsConst>(
Qualified<IsConst, clang::HeaderSearch>& HS,
size_t Idx)
SearchDirIteratorImpl<IsConst>(
Qualified<IsConst, clang::HeaderSearch>& HS,
size_t Idx)
Description
The constructor that creates a valid iterator.
Declared at: clang/include/clang/Lex/HeaderSearch.h:204
Parameters
- Qualified<IsConst, clang::HeaderSearch>& HS
- size_t Idx
¶template <typename Enable =
std::enable_if<IsConst, bool>>
SearchDirIteratorImpl<IsConst>(
const SearchDirIteratorImpl<false>& Other)
template <typename Enable =
std::enable_if<IsConst, bool>>
SearchDirIteratorImpl<IsConst>(
const SearchDirIteratorImpl<false>& Other)
Description
Const -> non-const iterator conversion.
Declared at: clang/include/clang/Lex/HeaderSearch.h:168
Templates
- Enable = std::enable_if<IsConst, bool>
Parameters
- const SearchDirIteratorImpl<false>& Other
¶bool operator bool() const
bool operator bool() const
Description
Checks whether the iterator is valid.
Declared at: clang/include/clang/Lex/HeaderSearch.h:194