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

◆ deep_copy_vars() [1/5]

template<typename Arith , typename = require_arithmetic_t<scalar_type_t<Arith>>>
Arith stan::math::deep_copy_vars ( Arith &&  arg)
inline

Forward arguments that do not contain vars.

There is no copying to be done.

Template Parameters
Arithan arithmetic type.
Parameters
argFor lvalue references this will be passed by reference. Otherwise it will be moved.

Definition at line 23 of file deep_copy_vars.hpp.