Skip to content

Commit 2b464e7

Browse files
authored
Update type_traits.hpp
1 parent 9711cc8 commit 2b464e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/tl/type_traits.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ namespace tl {
2323
template <bool B>
2424
using bool_constant = std::integral_constant<bool, B>;
2525

26-
template <bool B>
27-
using index_constant = std::integral_constant<std::size_t, B>;
26+
template <std::size_t N>
27+
using index_constant = std::integral_constant<std::size_t, N>;
2828

2929
template <class...> struct conjunction : std::true_type { };
3030
template <class B> struct conjunction<B> : B { };

0 commit comments

Comments
 (0)