Lely core libraries  2.3.4
utility.hpp File Reference
#include <lely/features.h>
#include <utility>
Include dependency graph for utility.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lely::compat::integer_sequence< T, Ints >
 A compile-time sequence of integers. More...
 
struct  lely::compat::detail::index_tuple<... >
 
struct  lely::compat::detail::index_tuple_cat< class, class >
 
struct  lely::compat::detail::index_tuple_cat< index_tuple< I1... >, index_tuple< I2... > >
 
struct  lely::compat::detail::make_index_tuple< N >
 
struct  lely::compat::detail::make_index_tuple< 1 >
 
struct  lely::compat::detail::make_index_tuple< 0 >
 
struct  lely::compat::detail::make_integer_sequence< T, N, class >
 
struct  lely::compat::detail::make_integer_sequence< T, N, index_tuple< Ints... > >
 

Typedefs

template<::std::size_t... Ints>
using lely::compat::index_sequence = integer_sequence<::std::size_t, Ints... >
 A helper alias template for lely::compat::integer_sequence for the common case where T is std::size_t.
 
template<typename T , T N>
using lely::compat::make_integer_sequence = typename detail::make_integer_sequence< T, N >::type
 A helper alias template to simplify the creation of lely::compat::integer_sequence types with 0, 1, 2, ..., N - 1 as Ints.
 
template<::std::size_t N>
using lely::compat::make_index_sequence = make_integer_sequence<::std::size_t, N >
 A helper alias template for make_integer_sequence for the common case where T is std::size_t.
 
template<typename... T>
using lely::compat::index_sequence_for = make_index_sequence< sizeof...(T)>
 A helper alias template to convert any type parameter pack into an index sequence of the same length.
 

Detailed Description

This header file is part of the compatibility library; it includes <utility> and defines any missing functionality.

Author
J. S. Seldenthuis jseld.nosp@m.enth.nosp@m.uis@l.nosp@m.ely..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file utility.hpp.