Nano
A C++ template metaprogramming library
Public Types | List of all members
nano::range< Start, End, Step > Struct Template Reference

Constructs a range of nano::int_t t types, which is essentially just a list of nano::int_t types. More...

#include <containers.hpp>

Public Types

using result = typename detail::build_range< Start, Step,(End-Start)/Step, true, list<> >::result
 

Detailed Description

template<int Start, int End, int Step>
struct nano::range< Start, End, Step >

Constructs a range of nano::int_t t types, which is essentially just a list of nano::int_t types.

Template Parameters
StartThe starting value of the range
EndThe end value of the range
StepThe step size of range values

Member Typedef Documentation

template<int Start, int End, int Step>
using nano::range< Start, End, Step >::result = typename detail::build_range<Start , Step , (End - Start) / Step , true , list<> >::result

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