Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/string/basic string/push back"

From cppreference.com
< cpp‎ | string‎ | basic string
m (Text replace - "{{return none}}" to "(none)")
m (r2.7.3) (Robot: Adding fr, ja, pt, ru)
Line 23: Line 23:
 
{{dcl list template | cpp/string/basic_string/dcl list pop_back}}
 
{{dcl list template | cpp/string/basic_string/dcl list pop_back}}
 
{{dcl list end}}
 
{{dcl list end}}
 +
 +
[[fr:cpp/string/basic string/push back]]
 +
[[ja:cpp/string/basic string/push back]]
 +
[[pt:cpp/string/basic string/push back]]
 +
[[ru:cpp/string/basic string/push back]]

Revision as of 16:50, 4 May 2012

Template:cpp/string/basic string/sidebar

void push_back( CharT ch );

Appends the given character ch to the end of the string.

Contents

Parameters

ch - the character to append

Return value

(none)

Complexity

Constant.

See also

Template:cpp/string/basic string/dcl list pop back