24 #include "fwd/Filter.h"
38 template <
typename container>
39 typename container::value_type
lone_elt(container& C)
48 template <
typename container>
49 typename container::value_type
lone_elt(container&& C)
59 template <
typename T,
typename Last,
typename ... UnaryPredicates>
60 std::set<std::shared_ptr<T> >
filter(
const std::set<std::shared_ptr<T> >& S, Last p, UnaryPredicates ... P)
62 auto s =
filter<T, UnaryPredicates...>(S, P...);
63 for (
auto it = s.begin(); it != s.end(); ) {
74 const std::set<std::shared_ptr<T> >&
filter(
const std::set<std::shared_ptr<T> >& S)
container::value_type lone_elt(container &C)
Definition: Filter.h:39
Base class for handling YAP exceptions.
Definition: Exceptions.h:39
std::set< std::shared_ptr< T > > filter(const std::set< std::shared_ptr< T > > &S, Last p, UnaryPredicates...P)
Definition: Filter.h:60
std::string to_string(const CachedValue::Status &S)
streaming operator for CachedValue::Status
Definition: CachedValue.cxx:27