Changeset View
Changeset View
Standalone View
Standalone View
libcxx/include/iterator
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
// [projected], projected | // [projected], projected | ||||
template<indirectly_readable I, indirectly_regular_unary_invocable<I> Proj> | template<indirectly_readable I, indirectly_regular_unary_invocable<I> Proj> | ||||
struct projected; // since C++20 | struct projected; // since C++20 | ||||
template<weakly_incrementable I, indirectly_regular_unary_invocable<I> Proj> | template<weakly_incrementable I, indirectly_regular_unary_invocable<I> Proj> | ||||
struct incrementable_traits<projected<I, Proj>>; // since C++20 | struct incrementable_traits<projected<I, Proj>>; // since C++20 | ||||
// [alg.req.ind.move], concept indirectly_movable | |||||
template<class In, class Out> | |||||
concept indirectly_movable = see below; // since C++20 | |||||
template<class In, class Out> | |||||
concept indirectly_movable_storable = see below; // since C++20 | |||||
template<class Category, class T, class Distance = ptrdiff_t, | template<class Category, class T, class Distance = ptrdiff_t, | ||||
class Pointer = T*, class Reference = T&> | class Pointer = T*, class Reference = T&> | ||||
struct iterator // deprecated in C++17 | struct iterator // deprecated in C++17 | ||||
{ | { | ||||
typedef T value_type; | typedef T value_type; | ||||
typedef Distance difference_type; | typedef Distance difference_type; | ||||
typedef Pointer pointer; | typedef Pointer pointer; | ||||
typedef Reference reference; | typedef Reference reference; | ||||
▲ Show 20 Lines • Show All 414 Lines • ▼ Show 20 Lines | |||||
#include <__config> | #include <__config> | ||||
#include <__debug> | #include <__debug> | ||||
#include <__functional_base> | #include <__functional_base> | ||||
#include <__iterator/advance.h> | #include <__iterator/advance.h> | ||||
#include <__iterator/concepts.h> | #include <__iterator/concepts.h> | ||||
#include <__iterator/default_sentinel.h> | #include <__iterator/default_sentinel.h> | ||||
#include <__iterator/incrementable_traits.h> | #include <__iterator/incrementable_traits.h> | ||||
#include <__iterator/iter_move.h> | #include <__iterator/iter_move.h> | ||||
#include <__iterator/iter_swap.h> | |||||
#include <__iterator/iterator_traits.h> | #include <__iterator/iterator_traits.h> | ||||
#include <__iterator/next.h> | #include <__iterator/next.h> | ||||
#include <__iterator/prev.h> | #include <__iterator/prev.h> | ||||
#include <__iterator/projected.h> | #include <__iterator/projected.h> | ||||
#include <__iterator/readable_traits.h> | #include <__iterator/readable_traits.h> | ||||
#include <__memory/addressof.h> | #include <__memory/addressof.h> | ||||
#include <__memory/pointer_traits.h> | #include <__memory/pointer_traits.h> | ||||
#include <compare> | #include <compare> | ||||
▲ Show 20 Lines • Show All 1,437 Lines • Show Last 20 Lines |