Stan Math Library
4.9.0
Automatic Differentiation
Loading...
Searching...
No Matches
void_t.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_META_VOID_T_HPP
2
#define STAN_MATH_PRIM_META_VOID_T_HPP
3
4
#include <
stan/math/prim/meta/bool_constant.hpp
>
5
#include <type_traits>
6
7
namespace
stan
{
8
9
// Dummy struct that has a type void
10
template
<
typename
... Ts>
11
struct
make_void
{
12
typedef
void
type
;
13
};
14
20
template
<
typename
... Ts>
21
using
void_t
=
typename
make_void
<Ts...>::type;
22
23
}
// namespace stan
24
#endif
bool_constant.hpp
stan::void_t
typename make_void< Ts... >::type void_t
Utility metafunction that maps a sequence of any types to the type void This metafunction is used in ...
Definition
void_t.hpp:21
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
stan::make_void::type
void type
Definition
void_t.hpp:12
stan::make_void
Definition
void_t.hpp:11
stan
math
prim
meta
void_t.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.