rangeless::fn
rangeless::mt::synchronized_queue< T, BasicLockable >::push_t Struct Reference

Implements insert_iterator and unary-invokable. More...

#include <fn.hpp>

Public Types

using iterator_category = std::output_iterator_tag
 
using difference_type = void
 
using value_type = synchronized_queue::value_type
 
using pointer = void
 
using reference = void
 

Public Member Functions

push_toperator= (value_type val)
 
push_toperator * ()
 
push_toperator++ ()
 
push_t operator++ (int)
 
void operator() (value_type val) noexcept(false)
 Blocking push. May throw queue_closed More...
 

Public Attributes

synchronized_queuem_queue
 

Detailed Description

template<typename T, class BasicLockable = std::mutex>
struct rangeless::mt::synchronized_queue< T, BasicLockable >::push_t

Implements insert_iterator and unary-invokable.

Definition at line 6463 of file fn.hpp.

Member Typedef Documentation

◆ difference_type

template<typename T, class BasicLockable = std::mutex>
using rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::difference_type = void

Definition at line 6466 of file fn.hpp.

◆ iterator_category

template<typename T, class BasicLockable = std::mutex>
using rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::iterator_category = std::output_iterator_tag

Definition at line 6465 of file fn.hpp.

◆ pointer

template<typename T, class BasicLockable = std::mutex>
using rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::pointer = void

Definition at line 6468 of file fn.hpp.

◆ reference

template<typename T, class BasicLockable = std::mutex>
using rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::reference = void

Definition at line 6469 of file fn.hpp.

◆ value_type

template<typename T, class BasicLockable = std::mutex>
using rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::value_type = synchronized_queue::value_type

Definition at line 6467 of file fn.hpp.

Member Function Documentation

◆ operator *()

template<typename T, class BasicLockable = std::mutex>
push_t& rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::operator * ( )
inline

Definition at line 6479 of file fn.hpp.

◆ operator()()

template<typename T, class BasicLockable = std::mutex>
void rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::operator() ( value_type  val)
inlinenoexcept

Blocking push. May throw queue_closed

Definition at line 6484 of file fn.hpp.

◆ operator++() [1/2]

template<typename T, class BasicLockable = std::mutex>
push_t& rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::operator++ ( )
inline

Definition at line 6480 of file fn.hpp.

◆ operator++() [2/2]

template<typename T, class BasicLockable = std::mutex>
push_t rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::operator++ ( int  )
inline

Definition at line 6481 of file fn.hpp.

◆ operator=()

template<typename T, class BasicLockable = std::mutex>
push_t& rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::operator= ( value_type  val)
inline

Definition at line 6473 of file fn.hpp.

Member Data Documentation

◆ m_queue

template<typename T, class BasicLockable = std::mutex>
synchronized_queue& rangeless::mt::synchronized_queue< T, BasicLockable >::push_t::m_queue

Definition at line 6471 of file fn.hpp.


The documentation for this struct was generated from the following file: