mirror of
https://github.com/boostorg/circular_buffer.git
synced 2026-02-09 11:02:30 +00:00
Compare commits
2 Commits
20131209-d
...
boost-1.54
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ccb1f93113 | ||
|
|
6998f28fda |
@@ -2316,7 +2316,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! Specialized method for swapping the allocator.
|
//! Specialized method for swapping the allocator.
|
||||||
void swap_allocator(circular_buffer<T, Alloc>& cb, const true_type&) {
|
void swap_allocator(circular_buffer<T, Alloc>&, const true_type&) {
|
||||||
// Swap is not needed because allocators have no state.
|
// Swap is not needed because allocators have no state.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1300,7 +1300,7 @@ private:
|
|||||||
|
|
||||||
//! Specialized method for determining the initial capacity.
|
//! Specialized method for determining the initial capacity.
|
||||||
template <class IntegralType>
|
template <class IntegralType>
|
||||||
static size_type init_capacity(const capacity_type& capacity_ctrl, IntegralType n, IntegralType item,
|
static size_type init_capacity(const capacity_type& capacity_ctrl, IntegralType n, IntegralType,
|
||||||
const true_type&) {
|
const true_type&) {
|
||||||
return init_capacity(capacity_ctrl, static_cast<size_type>(n));
|
return init_capacity(capacity_ctrl, static_cast<size_type>(n));
|
||||||
}
|
}
|
||||||
@@ -1320,7 +1320,7 @@ private:
|
|||||||
|
|
||||||
//! Specialized method for determining the initial capacity.
|
//! Specialized method for determining the initial capacity.
|
||||||
template <class InputIterator>
|
template <class InputIterator>
|
||||||
static size_type init_capacity(const capacity_type& capacity_ctrl, InputIterator first, InputIterator last,
|
static size_type init_capacity(const capacity_type& capacity_ctrl, InputIterator, InputIterator,
|
||||||
const std::input_iterator_tag&) {
|
const std::input_iterator_tag&) {
|
||||||
return capacity_ctrl.capacity();
|
return capacity_ctrl.capacity();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user