alpaqa sparse
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Typedefs
type-traits.hpp File Reference
#include <concepts>
#include <memory>
#include <type_traits>
+ Include dependency graph for type-traits.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  class_from_member_ptr_impl< M >
 
struct  class_from_member_ptr_impl< Ret(C::*)(Args...)>
 
struct  class_from_member_ptr_impl< Ret(C::*)(Args...) const >
 
struct  last_type< First, Pack >
 
struct  last_type< Only >
 
struct  first_type_or_void< First, Pack... >
 
struct  first_type_or_void<>
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa::util
 

Concepts

concept  alpaqa::util::no_leading_allocator
 

Typedefs

template<class M >
using class_from_member_ptr_impl_t = typename class_from_member_ptr_impl< M >::type
 
template<auto M>
using class_from_member_ptr_t = class_from_member_ptr_impl_t< decltype(M)>
 
template<class... Pack>
using last_type_t = typename last_type< Pack... >::type
 
template<class... Pack>
using first_type_or_void_t = typename first_type_or_void< Pack... >::type
 

Class Documentation

◆ alpaqa::util::class_from_member_ptr_impl

struct alpaqa::util::class_from_member_ptr_impl
+ Collaboration diagram for class_from_member_ptr_impl< M >:

◆ alpaqa::util::class_from_member_ptr_impl< Ret(C::*)(Args...)>

struct alpaqa::util::class_from_member_ptr_impl< Ret(C::*)(Args...)>
+ Collaboration diagram for class_from_member_ptr_impl< Ret(C::*)(Args...)>:
Class Members
typedef C type

◆ alpaqa::util::class_from_member_ptr_impl< Ret(C::*)(Args...) const >

struct alpaqa::util::class_from_member_ptr_impl< Ret(C::*)(Args...) const >
+ Collaboration diagram for class_from_member_ptr_impl< Ret(C::*)(Args...) const >:
Class Members
typedef add_const_t< C > type

◆ alpaqa::util::last_type

struct alpaqa::util::last_type
+ Collaboration diagram for last_type< First, Pack >:
Class Members
typedef typename type type

◆ alpaqa::util::last_type< Only >

struct alpaqa::util::last_type< Only >
+ Collaboration diagram for last_type< Only >:
Class Members
typedef Only type

◆ alpaqa::util::first_type_or_void< First, Pack... >

struct alpaqa::util::first_type_or_void< First, Pack... >
+ Collaboration diagram for first_type_or_void< First, Pack... >:
Class Members
typedef First type

◆ alpaqa::util::first_type_or_void<>

struct alpaqa::util::first_type_or_void<>
+ Collaboration diagram for first_type_or_void<>:
Class Members
typedef void type