paludis Version 3.0.2
The one true package mangler
paludis::Set< T_, C_ > Class Template Reference

#include <set.hh>

Public Types

typedef T_ Tag

Standard library typedefs

typedef T_ value_type
typedef T_ & reference
typedef const T_ & const_reference

Iteration

typedef SetConstIteratorTag< T_, C_ > ConstIteratorTag
typedef WrappedForwardIterator< ConstIteratorTag, const T_ > ConstIterator
typedef SetInsertIteratorTag< T_, C_ > InserterTag
typedef WrappedOutputIterator< InserterTag, T_ > Inserter
ConstIterator begin () const PALUDIS_ATTRIBUTE((warn_unused_result))
ConstIterator end () const PALUDIS_ATTRIBUTE((warn_unused_result))
ConstIterator find (const T_ &) const PALUDIS_ATTRIBUTE((warn_unused_result))
Inserter inserter ()

Basic operations

 Set (const Set &)=delete
Set & operator= (const Set &)=delete

Content information

bool empty () const PALUDIS_ATTRIBUTE((warn_unused_result))
unsigned size () const PALUDIS_ATTRIBUTE((warn_unused_result))
unsigned count (const T_ &) const PALUDIS_ATTRIBUTE((warn_unused_result))

Content modification

void insert (const T_ &)
void erase (const T_ &)
void clear ()

Detailed Description

template<typename T_, typename C_>
class paludis::Set< T_, C_ >

A wrapper around a set, avoiding the need to include lots of STL bloat all over the place.

Since
0.26
Examples
example_metadata_key.cc.

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