Make template alias support mandatory

This commit is contained in:
Kp 2015-08-03 03:11:25 +00:00
parent c80d12319a
commit c47b7e383f
2 changed files with 0 additions and 9 deletions

View file

@ -38,13 +38,5 @@ struct tree_index_sequence<1>
typedef index_sequence<0> type;
};
#ifdef DXX_HAVE_CXX11_TEMPLATE_ALIAS
template <std::size_t N>
using make_tree_index_sequence = typename tree_index_sequence<N>::type;
#else
template <std::size_t N>
static inline constexpr typename tree_index_sequence<N>::type make_tree_index_sequence()
{
return {};
}
#endif

View file

@ -12,7 +12,6 @@
#define DXX_HAVE_CXX11_RANGE_FOR
#define DXX_HAVE_CXX11_STATIC_ASSERT
#define DXX_HAVE_CXX11_TYPE_TRAITS
#define DXX_HAVE_CXX11_TEMPLATE_ALIAS
#define DXX_HAVE_CXX11_BEGIN
#define dxx_builtin_constant_p(A) (false)
#define DXX_INHERIT_CONSTRUCTORS(D,B,...) \