Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ deep_copy_vargs()

template<typename PromotedType , typename... Args>
auto stan::math::internal::deep_copy_vargs ( Args &&...  args)
inline

Conditional deep copy types with a var scalar type to PromotedType.

Template Parameters
PromotedTypetype to promote the scalar to.
Argsvariadic arguments.
Parameters
argsvariadic arguments to conditionally copy and promote.
Returns
a tuple where each element is either a reference to the original argument or a promoted copy of the argument.

Definition at line 80 of file conditional_copy_and_promote.hpp.