diff --git a/folly/Traits.h b/folly/Traits.h index 5fbe17ec317..4d469eb2a9e 100644 --- a/folly/Traits.h +++ b/folly/Traits.h @@ -1173,6 +1173,59 @@ template using type_list_size_t = decltype(traits_detail::type_list_size_(static_cast(nullptr))); +namespace detail { + +// The arguments to this "error" type help the user debug bad invocations. +// It is purposely undefined to cause a compile error. +template +struct error_list_concat_params_should_be_non_cvref; + +// The primary template is only invoked for invalid parameters. +template