tetl 0.1.0
Embedded Template Library
|
Function object for performing addition. Effectively calls operator+ on two instances of type T. https://en.cppreference.com/w/cpp/utility/functional/plus. More...
#include <plus.hpp>
Public Member Functions | |
constexpr auto | operator() (T const &lhs, T const &rhs) const -> T |
Returns the sum of lhs and rhs. | |
Function object for performing addition. Effectively calls operator+ on two instances of type T. https://en.cppreference.com/w/cpp/utility/functional/plus.
|
inlinenodiscardconstexpr |
Returns the sum of lhs and rhs.