distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
IntegerSequence.hpp File Reference

IntegerSequence template class header. More...

#include <type_traits>
Include dependency graph for IntegerSequence.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  estd::IntegerSequence< T, Integers >
 Compile-time sequence of integers. More...
 
struct  estd::internal::TypedSequence< T, Integers >
 IntegerSequence with two internal type aliases. More...
 
struct  estd::internal::DoubledIntegerSequence< Sequence >
 TypedSequence with doubled number of elements. More...
 
struct  estd::internal::DoubledIntegerSequence< TypedSequence< T, Integers... > >
 TypedSequence with doubled number of elements. More...
 
struct  estd::internal::ExtendedIntegerSequence< Extend, Sequence >
 TypedSequence optionally extended by one element. More...
 
struct  estd::internal::ExtendedIntegerSequence< true, TypedSequence< T, Integers... > >
 TypedSequence optionally extended by one element. More...
 
struct  estd::internal::MakeIntegerSequenceImplementation< T, N >
 Implementation of generator of IntegerSequence types. More...
 
struct  estd::internal::MakeIntegerSequenceImplementation< T, 0 >
 Implementation of generator of IntegerSequence types. More...
 

Namespaces

 estd
 Collection of useful templates.
 
 estd::internal
 Internals of estd namespace - should not be used directly!
 

Typedefs

template<std::size_t... Indexes>
using estd::IndexSequence = IntegerSequence< std::size_t, Indexes... >
 Compile-time sequence of std::size_t elements. More...
 
template<typename T , T N>
using estd::MakeIntegerSequence = typename internal::MakeIntegerSequenceImplementationWrapper< T, N >::type::base
 Generator of IntegerSequence types. More...
 
template<std::size_t N>
using estd::MakeIndexSequence = MakeIntegerSequence< std::size_t, N >
 Generator of IndexSequence types. More...
 
template<typename... T>
using estd::IndexSequenceFor = MakeIndexSequence< sizeof...(T)>
 Generator of IndexSequence types. More...
 

Detailed Description

IntegerSequence template class header.

Author
Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.