Namespaces
Variants
Views
Actions

std::queue<T,Container>::push_range

From cppreference.com
< cpp‎ | container‎ | queue
 
 
 
 
template< container-compatible-range<value_type> R >
void push_range( R&& rg );
(since C++23)

Inserts a copy of each element of rg in queue, as if by:

  • c.append_range(std::forward<R>(rg)) if that is a valid expression (i.e. the underlying container c has an appropriate append_range member function), or