Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
set.hh File Reference
#include <algorithm>
#include <map>
#include <set>
#include <vcsn/misc/attributes.hh>
#include <vcsn/misc/hash.hh>
#include <vcsn/misc/set.hxx>
Include dependency graph for set.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::hash< set< T, Compare, Alloc > >
 

Namespaces

 vcsn
 

Functions

template<typename T , typename Compare , typename Alloc >
bool vcsn::has (const std::set< T, Compare, Alloc > &s, const T &e) ATTRIBUTE_PURE
 Whether e is member of s. More...
 
template<typename Key , typename Value , typename Comp , typename Alloc >
std::set< typename std::map
< Key, Value, Comp, Alloc >
::mapped_type > 
vcsn::image (const std::map< Key, Value, Comp, Alloc > &m)
 The set of values of a map. More...
 
template<typename T , typename Compare , typename Alloc >
std::set< T, Compare, Alloc > vcsn::intersection (const std::set< T, Compare, Alloc > &set1, const std::set< T, Compare, Alloc > &set2)
 The intersection of two sets. More...
 
template<typename T , typename Compare , typename Alloc >
std::set< std::set< T, Compare,
Alloc > > 
vcsn::intersection_closure (std::set< std::set< T, Compare, Alloc >> pset)
 The set of all the intersections of the sets in pset. More...
 
template<typename T , typename Compare , typename Alloc >
std::set< T, Compare, Alloc > vcsn::get_union (const std::set< T, Compare, Alloc > &set1, const std::set< T, Compare, Alloc > &set2)
 The union of two sets. More...
 
template<typename T , typename Compare , typename Alloc >
std::ostream & vcsn::print (const std::set< T, Compare, Alloc > &set, std::ostream &o)
 Print with a separator. Meant to help debugging. More...
 
template<typename Container1 , typename Container2 >
bool vcsn::subset (const Container1 &set1, const Container2 &set2) ATTRIBUTE_PURE
 Whether set1set2. More...