forked from boostorg/container
Documentation fix. Ticket 6499
[SVN r76828]
This commit is contained in:
1 parent
868c90d658
commit
e667ab4a67
4 files changed
+17
-17
No files matched your search
@@ -1021,7 +1021,7 @@ class basic_string
|
||||
bool empty() const
|
||||
{ return !this->priv_size(); }
|
||||
|
||||
//! <b>Requires</b>: size() < n.
|
||||
//! <b>Requires</b>: size() > n.
|
||||
//!
|
||||
//! <b>Effects</b>: Returns a reference to the nth element
|
||||
//! from the beginning of the container.
|
||||
@@ -1032,7 +1032,7 @@ class basic_string
|
||||
reference operator[](size_type n)
|
||||
{ return *(this->priv_addr() + n); }
|
||||
|
||||
//! <b>Requires</b>: size() < n.
|
||||
//! <b>Requires</b>: size() > n.
|
||||
//!
|
||||
//! <b>Effects</b>: Returns a const reference to the nth element
|
||||
//! from the beginning of the container.
|
||||
@@ -1043,7 +1043,7 @@ class basic_string
|
||||
const_reference operator[](size_type n) const
|
||||
{ return *(this->priv_addr() + n); }
|
||||
|
||||
//! <b>Requires</b>: size() < n.
|
||||
//! <b>Requires</b>: size() > n.
|
||||
//!
|
||||
//! <b>Effects</b>: Returns a reference to the nth element
|
||||
//! from the beginning of the container.
|
||||
@@ -1057,7 +1057,7 @@ class basic_string
|
||||
return *(this->priv_addr() + n);
|
||||
}
|
||||
|
||||
//! <b>Requires</b>: size() < n.
|
||||
//! <b>Requires</b>: size() > n.
|
||||
//!
|
||||
//! <b>Effects</b>: Returns a const reference to the nth element
|
||||
//! from the beginning of the container.
|
||||
|
||||
Reference in new issue
Block a user