OGLplus  (0.59.0) a C++ wrapper for rendering APIs

mp_list.hpp File Reference
#include <type_traits>

Go to the source code of this file.

Classes

struct  eagine::mp_list< C >
 Compile-time type list template. More...
 
struct  eagine::mp_is_empty< TL >
 Implements the is_empty operation on compile-time type lists. More...
 
struct  eagine::mp_contains< TL, T >
 Implements the contains operation on compile-time type lists. More...
 
struct  eagine::mp_union_add< TL1, TL2, TL3 >
 Implements the union operation on compile-time type lists. More...
 

Namespaces

 eagine
 Common code is placed in this namespace.
 

Typedefs

template<typename TL , typename T >
using eagine::mp_contains_t = typename mp_contains< TL, T >::type
 Trait indicating whether a type list contains a specified type. More...
 
template<typename TL1 , typename TL2 >
using eagine::mp_union = mp_union_add< TL1, TL2, mp_list<> >
 Implements the union operation on compile-time type lists. More...
 
template<typename TL1 , typename TL2 >
using eagine::mp_union_t = typename mp_union< TL1, TL2 >::type
 Trait returning the union of types in two type lists. More...
 

Variables

template<typename TL >
constexpr const auto eagine::mp_is_empty_v
 Trait indicating whether a type list is empty. More...
 
template<typename TL , typename T >
constexpr const auto eagine::mp_contains_v
 Trait indicating whether a type list contains a specified type. More...
 

Detailed Description

Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt


Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).