LLVM  10.0.0svn
Public Types | List of all members
llvm::detail::fwd_or_bidi_tag< IterT > Struct Template Reference

Helper which sets its type member to forward_iterator_tag if the category of IterT does not derive from bidirectional_iterator_tag, and to bidirectional_iterator_tag otherwise. More...

#include "llvm/ADT/STLExtras.h"

Public Types

using type = typename fwd_or_bidi_tag_impl< std::is_base_of< std::bidirectional_iterator_tag, typename std::iterator_traits< IterT >::iterator_category >::value >::type
 

Detailed Description

template<typename IterT>
struct llvm::detail::fwd_or_bidi_tag< IterT >

Helper which sets its type member to forward_iterator_tag if the category of IterT does not derive from bidirectional_iterator_tag, and to bidirectional_iterator_tag otherwise.

Definition at line 398 of file STLExtras.h.

Member Typedef Documentation

◆ type

template<typename IterT>
using llvm::detail::fwd_or_bidi_tag< IterT >::type = typename fwd_or_bidi_tag_impl<std::is_base_of< std::bidirectional_iterator_tag, typename std::iterator_traits<IterT>::iterator_category>::value>::type

Definition at line 401 of file STLExtras.h.


The documentation for this struct was generated from the following file: