![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
Returns one of the arguments that can be of different type, depending on the compile time condition.
Can often be used in place of c++17 if constexpr.
| Condition | condition | 
| T1 | type of the first argument | 
| T2 | type of the second argument | 
| a | first argument; returned if the Condition is true  | 
| b | second argument; returned if the Condition is false  | 
Condition Definition at line 24 of file static_select.hpp.