Documentation fix. Ticket 6499

[SVN r76829]
This commit is contained in:
Ion Gaztañaga
2012-02-01 22:12:10 +00:00
parent f396635438
commit deae817e98
4 changed files with 17 additions and 17 deletions
+4 -4
View File
@@ -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.