forked from boostorg/unordered
Fix bug in has_construct
by using std::declval
This commit is contained in:
@ -1145,7 +1145,7 @@ namespace boost {
|
||||
template <typename T, typename ValueType, typename... Args>
|
||||
BOOST_UNORDERED_HAS_FUNCTION(construct, U,
|
||||
(boost::unordered::detail::make<ValueType*>(),
|
||||
boost::unordered::detail::make<Args const>()...),
|
||||
std::declval<Args>()...),
|
||||
2);
|
||||
|
||||
#else
|
||||
|
Reference in New Issue
Block a user