Commit 3090082c by Jonathan Wakely Committed by Jonathan Wakely

Qualify call to prevent ADL

	* include/std/memory (make_obj_using_allocator): Qualify call to
	uses_allocator_construction_args.

From-SVN: r273945
parent 10acaf4d
2019-07-31 Jonathan Wakely <jwakely@redhat.com> 2019-07-31 Jonathan Wakely <jwakely@redhat.com>
* include/std/memory (make_obj_using_allocator): Qualify call to
uses_allocator_construction_args.
P0631R4 Math Constants P0631R4 Math Constants
* include/Makefile.am: Add new header. * include/Makefile.am: Add new header.
* include/Makefile.in: Regenerate. * include/Makefile.in: Regenerate.
......
...@@ -375,8 +375,9 @@ get_pointer_safety() noexcept { return pointer_safety::relaxed; } ...@@ -375,8 +375,9 @@ get_pointer_safety() noexcept { return pointer_safety::relaxed; }
inline _Tp inline _Tp
make_obj_using_allocator(const _Alloc& __a, _Args&&... __args) make_obj_using_allocator(const _Alloc& __a, _Args&&... __args)
{ {
return std::make_from_tuple<_Tp>(uses_allocator_construction_args<_Tp>( return std::make_from_tuple<_Tp>(
__a, std::forward<_Args>(__args)...)); std::uses_allocator_construction_args<_Tp>(__a,
std::forward<_Args>(__args)...));
} }
template<typename _Tp, typename _Alloc, typename... _Args> template<typename _Tp, typename _Alloc, typename... _Args>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment