Function push_front

Summary

#include <include/EASTL/deque.h>

(1) void push_front(const value_type &value)

(2) reference push_front()

(3) void push_front(value_type &&value)

Function overload

Synopsis

#include <include/EASTL/deque.h>

void push_front(const value_type &value)

Description

No description yet.

Mentioned in

Source

Lines 1651-1655 in include/EASTL/deque.h. Line 436 in include/EASTL/deque.h.

template <typename T, typename Allocator, unsigned kDequeSubarraySize>
void deque<T, Allocator, kDequeSubarraySize>::push_front(const value_type& value)
{
    emplace_front(value);
}

Synopsis

#include <include/EASTL/deque.h>

reference push_front()

Description

No description yet.

Mentioned in

Source

Lines 1665-1671 in include/EASTL/deque.h. Line 437 in include/EASTL/deque.h.

template <typename T, typename Allocator, unsigned kDequeSubarraySize>
typename deque<T, Allocator, kDequeSubarraySize>::reference
deque<T, Allocator, kDequeSubarraySize>::push_front()
{
    emplace_front(value_type());
    return *mItBegin;   // Same as return front();
}

Synopsis

#include <include/EASTL/deque.h>

void push_front(value_type &&value)

Description

No description yet.

Mentioned in

Source

Lines 1658-1662 in include/EASTL/deque.h. Line 438 in include/EASTL/deque.h.

template <typename T, typename Allocator, unsigned kDequeSubarraySize>
void deque<T, Allocator, kDequeSubarraySize>::push_front(value_type&& value)
{
    emplace_front(eastl::move(value));
}





Add Discussion as Guest

Log in