Automatic Differentiation
 
Loading...
Searching...
No Matches
bool_constant.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_BOOL_CONSTANT_HPP
2#define STAN_MATH_PRIM_META_BOOL_CONSTANT_HPP
3
4#include <type_traits>
5
6namespace stan {
11template <bool B>
12using bool_constant = std::integral_constant<bool, B>;
13} // namespace stan
14
15#endif
std::integral_constant< bool, B > bool_constant
Alias for structs used for wraps a static constant of bool.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...