doc: fixed typo
This commit is contained in:
@@ -309,7 +309,7 @@ public:
|
||||
/**
|
||||
* @brief Constructs an empty container with the given policy and allocator.
|
||||
* @param pol Type of deletion policy.
|
||||
* @param alloc Allocator to use (possibly default-constructed).
|
||||
* @param allocator Allocator to use (possibly default-constructed).
|
||||
*/
|
||||
explicit basic_sparse_set(deletion_policy pol, const allocator_type &allocator = {})
|
||||
: reserved{allocator, 0u},
|
||||
@@ -323,7 +323,7 @@ public:
|
||||
|
||||
/**
|
||||
* @brief Constructs an empty container with the given allocator.
|
||||
* @param alloc Allocator to use (possibly default-constructed).
|
||||
* @param allocator Allocator to use (possibly default-constructed).
|
||||
*/
|
||||
explicit basic_sparse_set(const allocator_type &allocator = {})
|
||||
: basic_sparse_set{deletion_policy::swap_and_pop, allocator}
|
||||
|
||||
@@ -326,7 +326,7 @@ public:
|
||||
|
||||
/**
|
||||
* @brief Default constructor.
|
||||
* @param alloc Allocator to use (possibly default-constructed).
|
||||
* @param allocator Allocator to use (possibly default-constructed).
|
||||
*/
|
||||
explicit basic_storage_impl(const allocator_type &allocator = {})
|
||||
: underlying_type{deletion_policy{comp_traits::in_place_delete::value}, allocator},
|
||||
@@ -733,7 +733,7 @@ public:
|
||||
|
||||
/**
|
||||
* @brief Default constructor.
|
||||
* @param alloc Allocator to use (possibly default-constructed).
|
||||
* @param allocator Allocator to use (possibly default-constructed).
|
||||
*/
|
||||
explicit basic_storage_impl(const allocator_type &allocator = {})
|
||||
: underlying_type{deletion_policy{comp_traits::in_place_delete::value}, allocator}
|
||||
|
||||
Reference in New Issue
Block a user