CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Enumerate.hpp File Reference
#include "CeresEngine/Foundation/Iterator.hpp"
#include <functional>
#include <iterator>

Go to the source code of this file.

Classes

class  CeresEngine::EnumerateIterator< Iterator, Index >
 An iterator type that keeps an index count of the current item. More...
 

Namespaces

namespace  CeresEngine
 

Functions

template<typename Index = std::size_t, typename Range >
auto CeresEngine::enumerate (Range &range, Index startingAt=0)
 Return a range object.
 
template<typename Index = std::size_t, typename Range >
auto CeresEngine::enumerate (Range &&range, Index startingAt=0)
 Return a range object.