Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Eurobot_2012_Secondary by
Incrementor< T > Class Template Reference
A simple incrementor class. More...
#include <tvmet/util/Incrementor.h>
Detailed Description
template<class T>
class tvmet::util::Incrementor< T >
A simple incrementor class.
> Incrementor.h "tvmet/util/Incrementor.h"
The start value is given at construction time. After each access the class increments the internal counter.
- Example:
#include <algorithm> using namespace tvmet; ... std::generate(m1.begin(), m1.end(), util::Incrementor<typename matrix_type::value_type>());
Specialized Incrementor class.
Definition at line 52 of file Incrementor.h.
Generated on Tue Jul 12 2022 21:02:14 by
1.7.2
