المتغيرات
فضاءات التسمية
أفعال

std::{{{1}}}::push_front

من cppreference.com
void push_front( const T& value );
قالب:mark since none
void push_front( T&& value );
(since C++11)

Prepends the given element ‎value‎ to the beginning of the container.

Information on iterator invalidation is copied from here

محتويات

[تعديل] Parameters

value - the value of the element to prepend

[تعديل] Return value

(none)

[تعديل] Complexity

Constant.

[تعديل] Exceptions

If an exception is thrown, this function has no effect (strong exception guarantee).

[تعديل] See also

قالب:dsc mem funقالب:dsc mem funقالب:dsc mem fun