forked from boostorg/unordered
Unordered: Small improvements for windows.
[SVN r73760]
This commit is contained in:
1 parent
431f2abfee
commit
559122f67a
6 files changed
+32
-15
No files matched your search
@@ -149,7 +149,7 @@ namespace test
|
||||
// Note that tags will be tested
|
||||
// properly in the normal allocator.
|
||||
detail::tracker.track_deallocate((void*) p, n, sizeof(T), tag_,
|
||||
(Flags & propagate_swap));
|
||||
(Flags & propagate_swap) ? true : false);
|
||||
::operator delete((void*) p);
|
||||
}
|
||||
|
||||
@@ -198,13 +198,13 @@ namespace test
|
||||
|
||||
template <typename T, allocator_flags Flags>
|
||||
struct is_propagate_on_swap<cxx11_allocator<T, Flags> >
|
||||
: bool_type<(bool)(Flags & propagate_swap)> {};
|
||||
: bool_type<(Flags & propagate_swap) ? true : false> {};
|
||||
template <typename T, allocator_flags Flags>
|
||||
struct is_propagate_on_assign<cxx11_allocator<T, Flags> >
|
||||
: bool_type<(bool)(Flags & propagate_assign)> {};
|
||||
: bool_type<(Flags & propagate_assign) ? true : false> {};
|
||||
template <typename T, allocator_flags Flags>
|
||||
struct is_propagate_on_move<cxx11_allocator<T, Flags> >
|
||||
: bool_type<(bool)(Flags & propagate_move)> {};
|
||||
: bool_type<(Flags & propagate_move) ? true : false> {};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user