SOFA API  1eb52420
Open source framework for multi-physics simuation
sofa::type::functionality::BinaryAddable< T > Struct Template Reference

#include <StrongType.h>

Inheritance diagram for sofa::type::functionality::BinaryAddable< T >:

Public Member Functions

constexpr T operator+ (T const &other) const
 
T & operator+= (T const &other)
 
- Public Member Functions inherited from sofa::type::functionality::UnderlyingAccess< T, BinaryAddable >
T & underlying ()
 
constexpr T const & underlying () const
 

Function details

◆ operator+()

template<typename T >
constexpr T sofa::type::functionality::BinaryAddable< T >::operator+ ( T const &  other) const
inlineconstexpr

◆ operator+=()

template<typename T >
T& sofa::type::functionality::BinaryAddable< T >::operator+= ( T const &  other)
inline