tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
flat_multiset< Key, KeyContainer, Compare > Struct Template Reference

#include <flat_multiset.hpp>

Public Types

using const_iterator = typename KeyContainer::const_iterator
 
using const_reference = value_type const&
 
using const_reverse_iterator = etl::reverse_iterator<const_iterator>
 
using container_type = KeyContainer
 
using difference_type = typename KeyContainer::difference_type
 
using iterator = typename KeyContainer::iterator
 
using key_compare = Compare
 
using key_type = Key
 
using reference = value_type&
 
using reverse_iterator = etl::reverse_iterator<iterator>
 
using size_type = typename KeyContainer::size_type
 
using value_compare = Compare
 
using value_type = Key
 

Public Member Functions

constexpr flat_multiset ()
 
constexpr flat_multiset (Compare const &comp)
 
constexpr flat_multiset (KeyContainer cont)
 
constexpr flat_multiset (sorted_equivalent_t, KeyContainer cont)
 
constexpr auto begin () const noexcept -> const_iterator
 
constexpr auto begin () noexcept -> iterator
 
constexpr auto cbegin () const noexcept -> const_iterator
 
constexpr auto cend () const noexcept -> const_iterator
 
constexpr auto crbegin () const noexcept -> const_reverse_iterator
 
constexpr auto crend () const noexcept -> const_reverse_iterator
 
constexpr auto empty () const noexcept -> bool
 
constexpr auto end () const noexcept -> const_iterator
 
constexpr auto end () noexcept -> iterator
 
constexpr auto max_size () const noexcept -> size_type
 
constexpr auto rbegin () const noexcept -> const_reverse_iterator
 
constexpr auto rbegin () noexcept -> reverse_iterator
 
constexpr auto rend () const noexcept -> const_reverse_iterator
 
constexpr auto rend () noexcept -> reverse_iterator
 
constexpr auto size () const noexcept -> size_type
 

Member Typedef Documentation

◆ const_iterator

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using const_iterator = typename KeyContainer::const_iterator

◆ const_reference

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using const_reference = value_type const&

◆ const_reverse_iterator

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using const_reverse_iterator = etl::reverse_iterator<const_iterator>

◆ container_type

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using container_type = KeyContainer

◆ difference_type

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using difference_type = typename KeyContainer::difference_type

◆ iterator

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using iterator = typename KeyContainer::iterator

◆ key_compare

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using key_compare = Compare

◆ key_type

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using key_type = Key

◆ reference

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using reference = value_type&

◆ reverse_iterator

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using reverse_iterator = etl::reverse_iterator<iterator>

◆ size_type

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using size_type = typename KeyContainer::size_type

◆ value_compare

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using value_compare = Compare

◆ value_type

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
using value_type = Key

Constructor & Destructor Documentation

◆ flat_multiset() [1/4]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
flat_multiset ( )
inlineconstexpr

◆ flat_multiset() [2/4]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
flat_multiset ( Compare const & comp)
inlineexplicitconstexpr

◆ flat_multiset() [3/4]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
flat_multiset ( KeyContainer cont)
inlineexplicitconstexpr

◆ flat_multiset() [4/4]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
flat_multiset ( sorted_equivalent_t ,
KeyContainer cont )
inlineconstexpr

Member Function Documentation

◆ begin() [1/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto begin ( ) const -> const_iterator
inlinenodiscardconstexprnoexcept

◆ begin() [2/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto begin ( ) -> iterator
inlinenodiscardconstexprnoexcept

◆ cbegin()

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto cbegin ( ) const -> const_iterator
inlinenodiscardconstexprnoexcept

◆ cend()

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto cend ( ) const -> const_iterator
inlinenodiscardconstexprnoexcept

◆ crbegin()

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto crbegin ( ) const -> const_reverse_iterator
inlinenodiscardconstexprnoexcept

◆ crend()

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto crend ( ) const -> const_reverse_iterator
inlinenodiscardconstexprnoexcept

◆ empty()

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto empty ( ) const -> bool
inlinenodiscardconstexprnoexcept

◆ end() [1/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto end ( ) const -> const_iterator
inlinenodiscardconstexprnoexcept

◆ end() [2/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto end ( ) -> iterator
inlinenodiscardconstexprnoexcept

◆ max_size()

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto max_size ( ) const -> size_type
inlinenodiscardconstexprnoexcept

◆ rbegin() [1/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto rbegin ( ) const -> const_reverse_iterator
inlinenodiscardconstexprnoexcept

◆ rbegin() [2/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto rbegin ( ) -> reverse_iterator
inlinenodiscardconstexprnoexcept

◆ rend() [1/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto rend ( ) const -> const_reverse_iterator
inlinenodiscardconstexprnoexcept

◆ rend() [2/2]

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto rend ( ) -> reverse_iterator
inlinenodiscardconstexprnoexcept

◆ size()

template<typename Key, typename KeyContainer, typename Compare = less<Key>>
auto size ( ) const -> size_type
inlinenodiscardconstexprnoexcept

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