We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 193f188 commit dda1e44Copy full SHA for dda1e44
test/support/any_helpers.h
@@ -26,7 +26,7 @@ namespace std { namespace experimental {} }
26
template <class T>
27
struct IsSmallObject
28
: public std::integral_constant<bool
29
- , sizeof(T) <= (sizeof(void*)*3)
+ , sizeof(T) <= sizeof(std::any) - sizeof(void*)
30
&& std::alignment_of<void*>::value
31
% std::alignment_of<T>::value == 0
32
&& std::is_nothrow_move_constructible<T>::value
0 commit comments