Silicium
Namespaces | Functions
make_array.hpp File Reference
#include <silicium/config.hpp>
#include <silicium/identity.hpp>
#include <array>

Go to the source code of this file.

Namespaces

 Si
 

Functions

template<class Element = void, class... T>
auto Si::make_array (T &&...elements) -> std::array< typename std::conditional< std::is_same< Element, void >::value, std::common_type< T... >, identity< Element > >::type::type, sizeof...(elements) >