diff --git a/folly/Function.h b/folly/Function.h index 6fc733a096a..8bcefff1f46 100644 --- a/folly/Function.h +++ b/folly/Function.h @@ -612,7 +612,7 @@ using DispatchOf = Dispatch< // `Function` there refers to the instantion and not the template. template constexpr bool is_instantiation_of_folly_function_v = - detail::is_instantiation_of_v; + is_instantiation_of_v; } // namespace function } // namespace detail diff --git a/folly/Replaceable.h b/folly/Replaceable.h index 233ea1e4026..5ce2910fe1a 100644 --- a/folly/Replaceable.h +++ b/folly/Replaceable.h @@ -373,7 +373,7 @@ struct is_convertible_from_replaceable } // namespace replaceable_detail template -using is_replaceable = detail::is_instantiation_of; +using is_replaceable = is_instantiation_of; // Function to make a Replaceable with a type deduced from its input template diff --git a/folly/Traits.h b/folly/Traits.h index 3b467411f23..3c6b86e1301 100644 --- a/folly/Traits.h +++ b/folly/Traits.h @@ -157,8 +157,6 @@ inline constexpr bool is_bounded_array_v = true; template struct is_bounded_array : std::bool_constant> {}; -namespace detail { - /// is_instantiation_of_v /// is_instantiation_of /// @@ -176,8 +174,6 @@ template