LibreOffice Module o3tl (master)  1
Classes
o3tl::enumrange< T > Class Template Reference

This is a container convenience class iterating over scoped enumerations. More...

#include <enumrange.hxx>

Classes

class  Iterator
 

Detailed Description

template<typename T>
class o3tl::enumrange< T >

This is a container convenience class iterating over scoped enumerations.

This assumes that the 'enum class' definition

Use like this: enum class COLOR { RED, GREEN, BLUE, LAST=BLUE }; for( auto e : o3tl::enumrange<Color>() ) ....;

Parameters
Tthe 'enum class' type.

Definition at line 40 of file enumrange.hxx.


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