2 #include <boost/optional/optional.hpp>
3 #include <boost/multi_index/ordered_index.hpp>
4 #include <chainbase/generic_index.hpp>
22 template <
typename TObject,
typename TIndexBy>
24 typename boost::multi_index::index<typename chainbase::get_index_type<TObject>::type, TIndexBy>::type::key_type;
36 template <
typename T>
struct bound
38 boost::optional<const T&>
value;
auto operator<(const param_placeholder &, const TValue &val)
auto operator<=(const param_placeholder &, const TValue &val)
auto operator>(const TValue &val, const param_placeholder &)
typename boost::multi_index::index< typename chainbase::get_index_type< TObject >::type, TIndexBy >::type::key_type index_key_type
auto operator>=(const TValue &val, const param_placeholder &)
const param_placeholder _x
const unbounded_placeholder unbounded
bound(unbounded_placeholder)
boost::optional< const T & > value
bound(const T &value, bound_kind kind)