BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Static Public Attributes | List of all members
graphene::protocol::predicate_in< Container, flat_set< Element >, std::enable_if_t< is_container< Container > &&comparable_types< typename Container::value_type, Element > > > Struct Template Reference

#include <restriction_predicate.hxx>

Public Member Functions

template<typename C = Container, std::enable_if_t<!is_flat_set< C >, bool > = true>
bool operator() (const Container &c, const flat_set< Element > &a) const
 
template<typename C = Container, std::enable_if_t< is_flat_set< C >, bool > = true>
bool operator() (const Container &c, const flat_set< Element > &a) const
 

Static Public Attributes

constexpr static bool valid = true
 

Detailed Description

template<typename Container, typename Element>
struct graphene::protocol::predicate_in< Container, flat_set< Element >, std::enable_if_t< is_container< Container > &&comparable_types< typename Container::value_type, Element > > >

Definition at line 265 of file restriction_predicate.hxx.

Member Function Documentation

◆ operator()() [1/2]

template<typename Container , typename Element >
template<typename C = Container, std::enable_if_t<!is_flat_set< C >, bool > = true>
bool graphene::protocol::predicate_in< Container, flat_set< Element >, std::enable_if_t< is_container< Container > &&comparable_types< typename Container::value_type, Element > > >::operator() ( const Container &  c,
const flat_set< Element > &  a 
) const
inline

Definition at line 272 of file restriction_predicate.hxx.

◆ operator()() [2/2]

template<typename Container , typename Element >
template<typename C = Container, std::enable_if_t< is_flat_set< C >, bool > = true>
bool graphene::protocol::predicate_in< Container, flat_set< Element >, std::enable_if_t< is_container< Container > &&comparable_types< typename Container::value_type, Element > > >::operator() ( const Container &  c,
const flat_set< Element > &  a 
) const
inline

Definition at line 277 of file restriction_predicate.hxx.

Member Data Documentation

◆ valid

template<typename Container , typename Element >
constexpr static bool graphene::protocol::predicate_in< Container, flat_set< Element >, std::enable_if_t< is_container< Container > &&comparable_types< typename Container::value_type, Element > > >::valid = true
staticconstexpr

Definition at line 269 of file restriction_predicate.hxx.


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