Automatic Differentiation
 
Loading...
Searching...
No Matches
is_vector_like.hpp File Reference

Go to the source code of this file.

Classes

struct  stan::is_vector_like< T >
 Template metaprogram indicates whether a type is vector_like. More...
 

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.
 
namespace  stan::internal
 

Typedefs

template<typename T >
using stan::internal::operator_bracket_t = decltype(std::declval< T >()[int{}])
 Used to detect if object has operator[](int) defined.
 
template<typename T >
using stan::require_vector_like_t = require_t< is_vector_like< std::decay_t< T > > >
 Require type satisfies is_vector_like.
 
template<typename T >
using stan::require_not_vector_like_t = require_not_t< is_vector_like< std::decay_t< T > > >
 Require type does not satisfy is_vector_like.
 
template<typename... Types>
using stan::require_all_vector_like_t = require_all_t< is_vector_like< std::decay_t< Types > >... >
 Require all of the types satisfy is_vector_like.
 
template<typename... Types>
using stan::require_any_vector_like_t = require_any_t< is_vector_like< std::decay_t< Types > >... >
 Require any of the types satisfy is_vector_like.
 
template<typename... Types>
using stan::require_all_not_vector_like_t = require_all_not_t< is_vector_like< std::decay_t< Types > >... >
 Require none of the types satisfy is_vector_like.
 
template<typename... Types>
using stan::require_any_not_vector_like_t = require_any_not_t< is_vector_like< std::decay_t< Types > >... >
 Require at least one of the types do not satisfy is_vector_like.
 
template<template< class... > class TypeCheck, class... Check>
using stan::require_vector_like_vt = require_t< container_type_check_base< is_vector_like, value_type_t, TypeCheck, Check... > >
 Require type satisfies is_vector_like.