Path: blob/main/contrib/llvm-project/libcxx/include/__iterator/iterator.h
35233 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef _LIBCPP___ITERATOR_ITERATOR_H10#define _LIBCPP___ITERATOR_ITERATOR_H1112#include <__config>13#include <cstddef>1415#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)16# pragma GCC system_header17#endif1819_LIBCPP_BEGIN_NAMESPACE_STD2021template <class _Category, class _Tp, class _Distance = ptrdiff_t, class _Pointer = _Tp*, class _Reference = _Tp&>22struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {23typedef _Tp value_type;24typedef _Distance difference_type;25typedef _Pointer pointer;26typedef _Reference reference;27typedef _Category iterator_category;28};2930_LIBCPP_END_NAMESPACE_STD3132#endif // _LIBCPP___ITERATOR_ITERATOR_H333435