forked from boostorg/core
Rename identifiers in alloc_construct documentation
This commit is contained in:
@@ -58,8 +58,8 @@ void alloc_destroy(A& a, T* p);
|
|||||||
template<class A, class T>
|
template<class A, class T>
|
||||||
void alloc_destroy_n(A& a, T* p, std::size_t n);
|
void alloc_destroy_n(A& a, T* p, std::size_t n);
|
||||||
|
|
||||||
template<class A, class T, class U>
|
template<class A, class T, class Args>
|
||||||
void alloc_construct(A& a, T* p, U&&... u);
|
void alloc_construct(A& a, T* p, Args&&... args);
|
||||||
|
|
||||||
template<class A, class T>
|
template<class A, class T>
|
||||||
void alloc_construct_n(A& a, T* p, std::size_t n);
|
void alloc_construct_n(A& a, T* p, std::size_t n);
|
||||||
@@ -84,12 +84,12 @@ std::size_t n);`]
|
|||||||
[[Effects]
|
[[Effects]
|
||||||
[Destroys each `i`-th element in reverse order by calling
|
[Destroys each `i`-th element in reverse order by calling
|
||||||
`std::allocator_traits<A>::destroy(a, &p[i])`.]]]]]
|
`std::allocator_traits<A>::destroy(a, &p[i])`.]]]]]
|
||||||
[[`template<class A, class T, class U> void alloc_construct(A& a, T* p,
|
[[`template<class A, class T, class Args> void alloc_construct(A& a, T* p,
|
||||||
U&&... u);`]
|
Args&&... args);`]
|
||||||
[[variablelist
|
[[variablelist
|
||||||
[[Requires][`A` is an /Allocator/]]
|
[[Requires][`A` is an /Allocator/]]
|
||||||
[[Effects]
|
[[Effects]
|
||||||
[`std::allocator_traits<A>::construct(a, p, std::forward<U>(u)...)`.]]]]]
|
[`std::allocator_traits<A>::construct(a, p, std::forward<Args>(args)...)`.]]]]]
|
||||||
[[`template<class A, class T> void alloc_construct_n(A& a, T* p,
|
[[`template<class A, class T> void alloc_construct_n(A& a, T* p,
|
||||||
std::size_t n);`]
|
std::size_t n);`]
|
||||||
[[variablelist
|
[[variablelist
|
||||||
|
Reference in New Issue
Block a user