Automatic Differentiation
 
Loading...
Searching...
No Matches
is_integral.hpp File Reference
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 

Typedefs

template<typename T >
using stan::is_integral = std::is_integral< std::decay_t< T > >
 Checks if decayed type is integral.
 

Variables

template<typename T >
constexpr bool stan::is_integral_v = stan::is_integral<T>::value
 
template<typename... Types>
constexpr bool stan::is_all_integral_v = (stan::is_integral_v<Types> && ...)
 
template<typename... Types>
constexpr bool stan::is_any_integral_v = (stan::is_integral_v<Types> || ...)