Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Header <boost/proto/matches.hpp>

Contains definition of the proto::matches<> metafunction for determining if a given expression matches a given pattern.

namespace boost {
  namespace proto {
    struct _;
    template<typename Grammar> struct not_;
    template<typename If, typename Then = proto::_, 
             typename Else = proto::not_<proto::_> > 
      struct if_;
    template<typename... G> struct or_;
    template<typename... G> struct and_;
    template<typename Cases, typename Transform> struct switch_;
    template<typename T> struct exact;
    template<typename T> struct convertible_to;
    template<typename Grammar> struct vararg;
    template<typename Expr, typename Grammar> struct matches;
  }
}

PrevUpHomeNext