We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9711cc8 commit 2b464e7Copy full SHA for 2b464e7
include/tl/type_traits.hpp
@@ -23,8 +23,8 @@ namespace tl {
23
template <bool B>
24
using bool_constant = std::integral_constant<bool, B>;
25
26
- template <bool B>
27
- using index_constant = std::integral_constant<std::size_t, B>;
+ template <std::size_t N>
+ using index_constant = std::integral_constant<std::size_t, N>;
28
29
template <class...> struct conjunction : std::true_type { };
30
template <class B> struct conjunction<B> : B { };
0 commit comments