proxygen
folly::gen::detail::SeqImpl< Value > Class Template Reference

#include <Base-inl.h>

Public Member Functions

 SeqImpl (Value end)
 
bool test (const Value &current) const
 
void step (Value &current) const
 

Static Public Attributes

static constexpr bool infinite = false
 

Private Attributes

Value end_
 

Detailed Description

template<class Value>
class folly::gen::detail::SeqImpl< Value >

Definition at line 347 of file Base-inl.h.

Constructor & Destructor Documentation

template<class Value>
folly::gen::detail::SeqImpl< Value >::SeqImpl ( Value  end)
inlineexplicit

Definition at line 351 of file Base-inl.h.

351 : end_(std::move(end)) {}
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
auto end(TestAdlIterable &instance)
Definition: ForeachTest.cpp:62

Member Function Documentation

template<class Value>
void folly::gen::detail::SeqImpl< Value >::step ( Value &  current) const
inline

Definition at line 355 of file Base-inl.h.

References current.

355  {
356  ++current;
357  }
int current
template<class Value>
bool folly::gen::detail::SeqImpl< Value >::test ( const Value &  current) const
inline

Definition at line 352 of file Base-inl.h.

References end_.

352  {
353  return current <= end_;
354  }
int current

Member Data Documentation

template<class Value>
Value folly::gen::detail::SeqImpl< Value >::end_
private

Definition at line 348 of file Base-inl.h.

template<class Value>
constexpr bool folly::gen::detail::SeqImpl< Value >::infinite = false
static

Definition at line 358 of file Base-inl.h.


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