LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
frozen::set< Key, 0, Compare > Class Template Reference

#include <set.h>

Inheritance diagram for frozen::set< Key, 0, Compare >:
Collaboration diagram for frozen::set< Key, 0, Compare >:

Public Types

using key_type = Key
using value_type = Key
using size_type = typename container_type::size_type
using difference_type = typename container_type::size_type
using key_compare = Compare
using value_compare = Compare
using reference = typename container_type::const_reference
using const_reference = reference
using pointer = typename container_type::const_pointer
using const_pointer = pointer
using iterator = pointer
using reverse_iterator = pointer
using const_iterator = const_pointer
using const_reverse_iterator = const_pointer

Public Member Functions

constexpr set (const set &other)=default
constexpr set (bits::carray< Key, 0 >, Compare const &)
constexpr set (bits::carray< Key, 0 >)
constexpr set (std::initializer_list< Key >, Compare const &comp)
constexpr set (std::initializer_list< Key > keys)
constexpr setoperator= (const set &other)=default
constexpr bool empty () const
constexpr size_type size () const
constexpr size_type max_size () const
template<class KeyType>
constexpr std::size_t count (KeyType const &) const
template<class KeyType>
constexpr const_iterator find (KeyType const &) const
template<class KeyType>
constexpr std::pair< const_iterator, const_iteratorequal_range (KeyType const &) const
template<class KeyType>
constexpr const_iterator lower_bound (KeyType const &) const
template<class KeyType>
constexpr const_iterator upper_bound (KeyType const &) const
constexpr const key_comparekey_comp () const
constexpr const key_comparevalue_comp () const
constexpr const_iterator begin () const
constexpr const_iterator cbegin () const
constexpr const_iterator end () const
constexpr const_iterator cend () const
constexpr const_reverse_iterator rbegin () const
constexpr const_reverse_iterator crbegin () const
constexpr const_reverse_iterator rend () const
constexpr const_reverse_iterator crend () const
constexpr bool contains (KeyType const &key) const
constexpr bool operator== (set const &rhs) const
constexpr bool operator!= (set const &rhs) const
constexpr bool operator< (set const &rhs) const
constexpr bool operator<= (set const &rhs) const
constexpr bool operator> (set const &rhs) const
constexpr bool operator>= (set const &rhs) const

Member Typedef Documentation

◆ const_iterator

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::const_iterator = const_pointer

◆ const_pointer

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::const_pointer = pointer

◆ const_reference

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::const_reference = reference

◆ const_reverse_iterator

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::const_reverse_iterator = const_pointer

◆ difference_type

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::difference_type = typename container_type::size_type

◆ iterator

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::iterator = pointer

◆ key_compare

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::key_compare = Compare

◆ key_type

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::key_type = Key

◆ pointer

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::pointer = typename container_type::const_pointer

◆ reference

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::reference = typename container_type::const_reference

◆ reverse_iterator

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::reverse_iterator = pointer

◆ size_type

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::size_type = typename container_type::size_type

◆ value_compare

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::value_compare = Compare

◆ value_type

template<class Key, class Compare>
using frozen::set< Key, 0, Compare >::value_type = Key

Constructor & Destructor Documentation

◆ set() [1/5]

template<class Key, class Compare>
frozen::set< Key, 0, Compare >::set ( const set< Key, 0, Compare > & other)
constexprdefault

References set().

Referenced by operator=(), set(), and set().

◆ set() [2/5]

template<class Key, class Compare>
frozen::set< Key, 0, Compare >::set ( bits::carray< Key, 0 > ,
Compare const &  )
inlineconstexpr

◆ set() [3/5]

template<class Key, class Compare>
frozen::set< Key, 0, Compare >::set ( bits::carray< Key, 0 > )
inlineexplicitconstexpr

◆ set() [4/5]

template<class Key, class Compare>
frozen::set< Key, 0, Compare >::set ( std::initializer_list< Key > ,
Compare const & comp )
inlineconstexpr

◆ set() [5/5]

template<class Key, class Compare>
frozen::set< Key, 0, Compare >::set ( std::initializer_list< Key > keys)
inlineconstexpr

References set().

Member Function Documentation

◆ begin()

template<class Key, class Compare>
const_iterator frozen::set< Key, 0, Compare >::begin ( ) const
inlineconstexpr

◆ cbegin()

template<class Key, class Compare>
const_iterator frozen::set< Key, 0, Compare >::cbegin ( ) const
inlineconstexpr

◆ cend()

template<class Key, class Compare>
const_iterator frozen::set< Key, 0, Compare >::cend ( ) const
inlineconstexpr

◆ contains()

bool frozen::set< Key, N, Compare >::contains ( KeyType const & key) const
inlineconstexpr

◆ count()

template<class Key, class Compare>
template<class KeyType>
std::size_t frozen::set< Key, 0, Compare >::count ( KeyType const & ) const
inlineconstexpr

◆ crbegin()

template<class Key, class Compare>
const_reverse_iterator frozen::set< Key, 0, Compare >::crbegin ( ) const
inlineconstexpr

◆ crend()

template<class Key, class Compare>
const_reverse_iterator frozen::set< Key, 0, Compare >::crend ( ) const
inlineconstexpr

◆ empty()

template<class Key, class Compare>
bool frozen::set< Key, 0, Compare >::empty ( ) const
inlineconstexpr

◆ end()

template<class Key, class Compare>
const_iterator frozen::set< Key, 0, Compare >::end ( ) const
inlineconstexpr

◆ equal_range()

template<class Key, class Compare>
template<class KeyType>
std::pair< const_iterator, const_iterator > frozen::set< Key, 0, Compare >::equal_range ( KeyType const & ) const
inlineconstexpr

◆ find()

template<class Key, class Compare>
template<class KeyType>
const_iterator frozen::set< Key, 0, Compare >::find ( KeyType const & ) const
inlineconstexpr

◆ key_comp()

template<class Key, class Compare>
const key_compare & frozen::set< Key, 0, Compare >::key_comp ( ) const
inlineconstexpr

◆ lower_bound()

template<class Key, class Compare>
template<class KeyType>
const_iterator frozen::set< Key, 0, Compare >::lower_bound ( KeyType const & ) const
inlineconstexpr

◆ max_size()

template<class Key, class Compare>
size_type frozen::set< Key, 0, Compare >::max_size ( ) const
inlineconstexpr

◆ operator!=()

bool frozen::set< Key, N, Compare >::operator!= ( set< Key, 0, Compare > const & rhs) const
inlineconstexpr

◆ operator<()

bool frozen::set< Key, N, Compare >::operator< ( set< Key, 0, Compare > const & rhs) const
inlineconstexpr

◆ operator<=()

bool frozen::set< Key, N, Compare >::operator<= ( set< Key, 0, Compare > const & rhs) const
inlineconstexpr

◆ operator=()

template<class Key, class Compare>
set & frozen::set< Key, 0, Compare >::operator= ( const set< Key, 0, Compare > & other)
constexprdefault

References set().

◆ operator==()

bool frozen::set< Key, N, Compare >::operator== ( set< Key, 0, Compare > const & rhs) const
inlineconstexpr

◆ operator>()

bool frozen::set< Key, N, Compare >::operator> ( set< Key, 0, Compare > const & rhs) const
inlineconstexpr

◆ operator>=()

bool frozen::set< Key, N, Compare >::operator>= ( set< Key, 0, Compare > const & rhs) const
inlineconstexpr

◆ rbegin()

template<class Key, class Compare>
const_reverse_iterator frozen::set< Key, 0, Compare >::rbegin ( ) const
inlineconstexpr

◆ rend()

template<class Key, class Compare>
const_reverse_iterator frozen::set< Key, 0, Compare >::rend ( ) const
inlineconstexpr

◆ size()

template<class Key, class Compare>
size_type frozen::set< Key, 0, Compare >::size ( ) const
inlineconstexpr

◆ upper_bound()

template<class Key, class Compare>
template<class KeyType>
const_iterator frozen::set< Key, 0, Compare >::upper_bound ( KeyType const & ) const
inlineconstexpr

◆ value_comp()

template<class Key, class Compare>
const key_compare & frozen::set< Key, 0, Compare >::value_comp ( ) const
inlineconstexpr

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