Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Returns a reference to the last element in the string.

const_reference back() const;
reference back();

A reference to the last element of the string, which must be non-empty.

Header: <string>

Namespace: std

© 2015 Microsoft