![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
Conditional copy and promote a type's scalar type to a PromotedType. 
| Filter | type trait with a static constexpr bool member value that is true if the type should be promoted. Otherwise, the type is left unchanged.  | 
| PromotedType | type to promote the scalar to. | 
| CopyType | type of copy to perform. | 
| Args | variadic arguments. | 
| args | variadic arguments to conditionally copy and promote. | 
Definition at line 55 of file laplace_likelihood.hpp.