Default functor for updating operations.  
 More...
#include <ikarus/utils/defaultfunctions.hh>
 | 
| template<typename A , typename B >  | 
| constexpr void  | operator() (A &&a, B &&b) const | 
|   | 
This functor provides a default implementation for updating operations by performing addition. It is intended to be used in generic contexts where a default updater is needed. 
- Template Parameters
 - 
  
    | A | Type of the target operand to be updated.  | 
    | B | Type of the value to be added for updating.  | 
  
   
- Parameters
 - 
  
    | a | The target operand to be updated.  | 
    | b | The value to be added for updating.  | 
  
   
- Returns
 - The result of the addition operation (a += b). 
 
 
◆ operator()()
template<typename A , typename B > 
  
  
      
        
          | constexpr void Ikarus::utils::UpdateDefault::operator()  | 
          ( | 
          A &&  | 
          a,  | 
         
        
           | 
           | 
          B &&  | 
          b  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inlineconstexpr   | 
  
 
 
The documentation for this struct was generated from the following file: