Server
 
로딩중...
검색중...
일치하는것 없음
detail::json_reverse_iterator< Base > 클래스 템플릿 참조

a template for a reverse iterator class 더 자세히 ...

#include <json.hpp>

detail::json_reverse_iterator< Base >에 대한 상속 다이어그램 :
detail::json_reverse_iterator< Base >에 대한 협력 다이어그램:

Public 타입

using difference_type = std::ptrdiff_t
 
using base_iterator = std::reverse_iterator< Base >
 shortcut to the reverse iterator adapter
 
using reference = typename Base::reference
 the reference type for the pointed-to element
 

Public 멤버 함수

 json_reverse_iterator (const typename base_iterator::iterator_type &it) noexcept
 create reverse iterator from iterator
 
 json_reverse_iterator (const base_iterator &it) noexcept
 create reverse iterator from base class
 
json_reverse_iterator operator++ (int) &
 post-increment (it++)
 
json_reverse_iteratoroperator++ ()
 pre-increment (++it)
 
json_reverse_iterator operator-- (int) &
 post-decrement (it–)
 
json_reverse_iteratoroperator-- ()
 pre-decrement (–it)
 
json_reverse_iteratoroperator+= (difference_type i)
 add to iterator
 
json_reverse_iterator operator+ (difference_type i) const
 add to iterator
 
json_reverse_iterator operator- (difference_type i) const
 subtract from iterator
 
difference_type operator- (const json_reverse_iterator &other) const
 return difference
 
reference operator[] (difference_type n) const
 access to successor
 
auto key () const -> decltype(std::declval< Base >().key())
 return the key of an object iterator
 
reference value () const
 return the value of an iterator
 

상세한 설명

template<typename Base>
class detail::json_reverse_iterator< Base >

a template for a reverse iterator class

템플릿 파라메터
Basethe base iterator type to reverse. Valid types are iterator (to create reverse_iterator) and const_iterator (to create const_reverse_iterator).

@requirement The class satisfies the following concept requirements:

  • BidirectionalIterator: The iterator that can be moved can be moved in both directions (i.e. incremented and decremented).
  • OutputIterator: It is possible to write to the pointed-to element (only if Base is iterator).
Since
version 1.0.0

이 클래스에 대한 Documentation 페이지는 다음의 파일로부터 생성되었습니다.: