WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::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 <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 wpi::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.


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