boostorg / container

STL-like containers from Boost
http://www.boost.org/libs/container/
Boost Software License 1.0
103 stars 113 forks source link

Fix parameter type of uninitialized_copy_alloc_n_source() #39

Closed togermer closed 8 years ago

togermer commented 8 years ago

This function constructs n objects using Allocator, so the number of objects should be given as the (unsigned) allocator_traits::size_type. There are two callers, both of which already use size_type. However, the function signature did not reflect this yet. This fix makes the function signature compatible with the callers.