Nano
A C++ template metaprogramming library
|
Addss two nano numeric types. More...
#include <functions.hpp>
Public Types | |
using | type = nano::size_t< Arg1::value+Arg2::value > |
using | default_type = nano::size_t< 0 > |
Static Public Attributes | |
static constexpr Arg1::type | result = Arg1::value + Arg2::value |
Addss two nano numeric types.
Arg1 | The first argument for the addition |
Arg2 | The second argument for addition |
using nano::add< Arg1, Arg2 >::default_type = nano::size_t<0> |
using nano::add< Arg1, Arg2 >::type = nano::size_t<Arg1::value + Arg2::value> |
|
static |