Nano
A C++ template metaprogramming library
Public Types | Static Public Member Functions | List of all members
nano::detail::array_convert< Element > Struct Template Reference

Converts an element to a std type, like nano::int_t to inr or a nano::list into a std::array with N elements. More...

#include <runtime_converter.hpp>

Public Types

using type = typename Element::type
 

Static Public Member Functions

static constexpr type result ()
 

Detailed Description

template<typename Element>
struct nano::detail::array_convert< Element >

Converts an element to a std type, like nano::int_t to inr or a nano::list into a std::array with N elements.

Template Parameters
ElementsThe element(s) to convert to a std type or std::array

Member Typedef Documentation

template<typename Element>
using nano::detail::array_convert< Element >::type = typename Element::type

Member Function Documentation

template<typename Element>
static constexpr type nano::detail::array_convert< Element >::result ( )
inlinestatic

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