Merge pull request #670 from redboltz/fix_variadic_template

Added missing variadic template parameters.
This commit is contained in:
Takatoshi Kondo
2018-04-12 08:03:02 +09:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ private:
decltype(adaptor::as<U>()(std::declval<msgpack::object>())),
T
>::type;
template <typename>
template <typename...>
static std::false_type check(...);
public:
using type = decltype(check<T>(MSGPACK_NULLPTR));

View File

@@ -91,7 +91,7 @@ private:
v1::has_as<U>::value,
std::true_type
>::type;
template <typename>
template <typename...>
static std::false_type check(...);
public:
using type = decltype(check<T>(MSGPACK_NULLPTR));

View File

@@ -51,7 +51,7 @@ private:
v1::has_as<U>::value,
std::true_type
>::type;
template <typename>
template <typename...>
static std::false_type check(...);
public:
using type = decltype(check<T>(MSGPACK_NULLPTR));