cppx-core
Classes | Namespaces | Functions
Set_.hpp File Reference
#include <cppx-core/collections/Range_.hpp>
#include <cppx-core/language/syntax/macro-define_tag.hpp>
#include <cppx-core/language/types/Truth.hpp>
#include <initializer_list>
#include <utility>
#include <unordered_set>
Include dependency graph for Set_.hpp:

Go to the source code of this file.

Classes

class  cppx::Set_< Key >
 

Namespaces

 cppx
 

Functions

 CPPX_DEFINE_TAG (Iterators)
 
 CPPX_DEFINE_TAG (Values)
 
 cppx::CPPX_USE_STD (initializer_list, move, unordered_set)
 
template<class Key , class Arg >
auto cppx::is_in (const unordered_set< Key > &set, const Arg &v) -> Truth
 
template<class Key >
auto cppx::as_set (const Key &a_key) -> Set_< Key >
 
template<class Integer >
auto cppx::as_set (const Range_< Integer > range) -> Set_< Integer >
 
template<class Key >
auto cppx::as_set (const initializer_list< Key > &values) -> Set_< Key >
 
template<class Key >
auto cppx::set_union (const unordered_set< Key > &a, const unordered_set< Key > &b) -> Set_< Key >
 
template<class Key , class Arg >
auto cppx::set_union (const unordered_set< Key > &a, const Arg &b) -> Set_< Key >
 
template<class Key , class Arg >
auto cppx::set_union (const Arg &a, const unordered_set< Key > &b) -> Set_< Key >
 
template<class Key >
auto cppx::set_difference (const unordered_set< Key > &a, const unordered_set< Key > &b) -> Set_< Key >
 
template<class Key , class Arg >
auto cppx::set_difference (const unordered_set< Key > &a, const Arg &b) -> Set_< Key >
 
template<class Key >
auto cppx::set_intersection (const unordered_set< Key > &a, const unordered_set< Key > &b) -> Set_< Key >
 
template<class Key >
auto cppx::set_difference (Set_< Key > &&a, const unordered_set< Key > &b) -> Set_< Key > &&
 

Function Documentation

◆ CPPX_DEFINE_TAG() [1/2]

CPPX_DEFINE_TAG ( Iterators  )

◆ CPPX_DEFINE_TAG() [2/2]

CPPX_DEFINE_TAG ( Values  )