mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-12 05:51:44 +00:00
Remove extraneous workarounds for gcc-4 in foa core header
This commit is contained in:
parent
a9da328e1d
commit
bc764d34cf
@ -2016,13 +2016,7 @@ private:
|
|||||||
copy_elements_array_from(
|
copy_elements_array_from(
|
||||||
x,
|
x,
|
||||||
std::integral_constant<
|
std::integral_constant<
|
||||||
bool,
|
bool,std::is_trivially_copy_constructible<element_type>::value
|
||||||
#if BOOST_WORKAROUND(BOOST_LIBSTDCXX_VERSION,<50000)
|
|
||||||
/* std::is_trivially_copy_constructible not provided */
|
|
||||||
boost::has_trivial_copy<element_type>::value
|
|
||||||
#else
|
|
||||||
std::is_trivially_copy_constructible<element_type>::value
|
|
||||||
#endif
|
|
||||||
&&(
|
&&(
|
||||||
is_std_allocator<Allocator>::value||
|
is_std_allocator<Allocator>::value||
|
||||||
!alloc_has_construct<Allocator,value_type*,const value_type&>::value)
|
!alloc_has_construct<Allocator,value_type*,const value_type&>::value)
|
||||||
@ -2066,12 +2060,7 @@ private:
|
|||||||
|
|
||||||
void copy_groups_array_from(const table_core& x) {
|
void copy_groups_array_from(const table_core& x) {
|
||||||
copy_groups_array_from(x, std::integral_constant<bool,
|
copy_groups_array_from(x, std::integral_constant<bool,
|
||||||
#if BOOST_WORKAROUND(BOOST_LIBSTDCXX_VERSION,<50000)
|
|
||||||
/* std::is_trivially_copy_assignable not provided */
|
|
||||||
boost::has_trivial_assign<group_type>::value
|
|
||||||
#else
|
|
||||||
std::is_trivially_copy_assignable<group_type>::value
|
std::is_trivially_copy_assignable<group_type>::value
|
||||||
#endif
|
|
||||||
>{}
|
>{}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user