Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::scalar_type< T, typename > Struct Template Reference

Detailed Description

template<typename T, typename = void>
struct stan::scalar_type< T, typename >

Metaprogram structure to determine the base scalar type of a template argument.

This base class should be specialized for structured types.

Template Parameters
Ttype of non-container

Definition at line 20 of file scalar_type.hpp.

#include <scalar_type.hpp>

Public Types

using type = std::decay_t< T >
 

The documentation for this struct was generated from the following file: