forked from boostorg/smart_ptr
Explicitly name detail array construct overloads for different parameter types.
[SVN r81859]
This commit is contained in:
1 parent
ecceb710de
commit
6e269872df
2 files changed
+6
-6
No files matched your search
@@ -55,7 +55,7 @@ namespace boost {
|
||||
}
|
||||
#if defined(BOOST_HAS_RVALUE_REFS)
|
||||
template<typename T>
|
||||
inline void array_construct(T* memory, std::size_t size, T&& value) {
|
||||
inline void array_construct_value(T* memory, std::size_t size, T&& value) {
|
||||
std::size_t i = 0;
|
||||
try {
|
||||
for (; i < size; i++) {
|
||||
@@ -69,7 +69,7 @@ namespace boost {
|
||||
}
|
||||
#if defined(BOOST_HAS_VARIADIC_TMPL)
|
||||
template<typename T, typename... Args>
|
||||
inline void array_construct(T* memory, std::size_t size, Args&&... args) {
|
||||
inline void array_construct_args(T* memory, std::size_t size, Args&&... args) {
|
||||
std::size_t i = 0;
|
||||
try {
|
||||
for (; i < size; i++) {
|
||||
|
||||
Reference in new issue
Block a user