aboutsummaryrefslogtreecommitdiff
path: root/src/function/detail/placeholder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/detail/placeholder.h')
-rw-r--r--src/function/detail/placeholder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/function/detail/placeholder.h b/src/function/detail/placeholder.h
index 8105de5..00818b7 100644
--- a/src/function/detail/placeholder.h
+++ b/src/function/detail/placeholder.h
@@ -13,7 +13,7 @@ namespace detail {
struct placeholder_tag { };
-template <int Index>
+template <std::size_t Index>
struct placeholder : placeholder_tag { };
template <typename Type>
@@ -28,8 +28,8 @@ struct resolve_placeholder {
};
template <
- typename Partials,
- int Index
+ typename Partials,
+ std::size_t Index
>
struct resolve_placeholder<Partials, placeholder<Index>> {
typedef Nth<Size<Index>, Partials> type;