doc: fixed typo

This commit is contained in:
Michele Caini
2021-07-07 11:46:30 +02:00
parent 516a9209b7
commit 6867760cc4
2 changed files with 4 additions and 4 deletions

View File

@@ -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}

View File

@@ -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}