WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::memory::detail::locked_allocator< Alloc, Mutex > Class Template Reference

#include <wpi/memory/threading.hpp>

Public Member Functions

 locked_allocator (Alloc &alloc, Mutex &m) noexcept
 
 locked_allocator (locked_allocator &&other) noexcept
 
 ~locked_allocator () noexcept
 
locked_allocatoroperator= (locked_allocator &&other) noexcept=delete
 
Alloc & operator* () const noexcept
 
Alloc * operator-> () const noexcept
 

Constructor & Destructor Documentation

◆ locked_allocator() [1/2]

template<class Alloc , class Mutex >
wpi::memory::detail::locked_allocator< Alloc, Mutex >::locked_allocator ( Alloc & alloc,
Mutex & m )
inlinenoexcept

◆ locked_allocator() [2/2]

template<class Alloc , class Mutex >
wpi::memory::detail::locked_allocator< Alloc, Mutex >::locked_allocator ( locked_allocator< Alloc, Mutex > && other)
inlinenoexcept

◆ ~locked_allocator()

template<class Alloc , class Mutex >
wpi::memory::detail::locked_allocator< Alloc, Mutex >::~locked_allocator ( )
inlinenoexcept

Member Function Documentation

◆ operator*()

template<class Alloc , class Mutex >
Alloc & wpi::memory::detail::locked_allocator< Alloc, Mutex >::operator* ( ) const
inlinenoexcept

◆ operator->()

template<class Alloc , class Mutex >
Alloc * wpi::memory::detail::locked_allocator< Alloc, Mutex >::operator-> ( ) const
inlinenoexcept

◆ operator=()

template<class Alloc , class Mutex >
locked_allocator & wpi::memory::detail::locked_allocator< Alloc, Mutex >::operator= ( locked_allocator< Alloc, Mutex > && other)
deletenoexcept

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