Nano
A C++ template metaprogramming library
Public Types | Static Public Attributes | List of all members
nano::multiply< Arg1, Arg2 > Struct Template Reference

Multiplies 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< 1 >
 

Static Public Attributes

static constexpr Arg1::type result = Arg1::value * Arg2::value
 

Detailed Description

template<typename Arg1, typename Arg2>
struct nano::multiply< Arg1, Arg2 >

Multiplies two nano numeric types.

Template Parameters
Arg1The forst argument for the multiplication
Arg2The second argument for multiplication

Member Typedef Documentation

template<typename Arg1 , typename Arg2 >
using nano::multiply< Arg1, Arg2 >::default_type = nano::size_t<1>
template<typename Arg1 , typename Arg2 >
using nano::multiply< Arg1, Arg2 >::type = nano::size_t<Arg1::value * Arg2::value>

Member Data Documentation

template<typename Arg1 , typename Arg2 >
constexpr Arg1::type nano::multiply< Arg1, Arg2 >::result = Arg1::value * Arg2::value
static

The documentation for this struct was generated from the following file: