Automatic Differentiation
 
Loading...
Searching...
No Matches
is_string_convertible.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_IS_STRING_CONVERTIBLE_HPP
2#define STAN_MATH_PRIM_META_IS_STRING_CONVERTIBLE_HPP
3
5#include <type_traits>
6#include <string>
7
8namespace stan {
9
15template <typename T>
16using is_string_convertible = std::is_convertible<T, std::string>;
17
25template <typename T>
28
31template <typename T>
34
37template <typename... Types>
40
43template <typename... Types>
46
49template <typename... Types>
52
56template <typename... Types>
61} // namespace stan
62
63#endif
require_any_t< is_string_convertible< std::decay_t< Types > >... > require_any_string_convertible_t
Require any of the types satisfy is_string_convertible.
require_all_not_t< is_string_convertible< std::decay_t< Types > >... > require_all_not_string_convertible_t
Require none of the types satisfy is_string_convertible.
require_not_t< is_string_convertible< std::decay_t< T > > > require_not_string_convertible_t
Require type does not satisfy is_string_convertible.
require_any_not_t< is_string_convertible< std::decay_t< Types > >... > require_any_not_string_convertible_t
Require at least one of the types do not satisfy is_string_convertible.
require_all_t< is_string_convertible< std::decay_t< Types > >... > require_all_string_convertible_t
Require all of the types satisfy is_string_convertible.
require_t< is_string_convertible< std::decay_t< T > > > require_string_convertible_t
Require type satisfies is_string_convertible.
std::is_convertible< T, std::string > is_string_convertible
Deduces whether type is convertible to string.
std::enable_if_t<!Check::value > require_not_t
If condition is false, template is disabled.
std::enable_if_t< math::disjunction< Checks... >::value > require_any_t
If any condition is true, template is enabled.
std::enable_if_t<!math::disjunction< Checks... >::value > require_all_not_t
If all conditions are false, template is enabled.
std::enable_if_t<!math::conjunction< Checks... >::value > require_any_not_t
If any condition is false, template is enabled.
std::enable_if_t< Check::value > require_t
If condition is true, template is enabled.
std::enable_if_t< math::conjunction< Checks... >::value > require_all_t
If all conditions are true, template is enabled Returns a type void if all conditions are true and ot...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...