| Home | Libraries | People | FAQ | More

## Struct template as

boost::xpressive::op::as

## Synopsis

    // In header: <boost/xpressive/regex_actions.hpp>

    template<typename T>
    struct as {
      // types
      typedef T result_type;

      // public member functions
      template<typename Value> T operator()(Value const &) const;
      T operator()(csub_match const &) const;
      T operator()(wcsub_match const &) const;
      T operator()(ssub_match const &) const;
      T operator()(wssub_match const &) const;
      template<typename BidiIter>
        T operator()(sub_match< BidiIter > const &) const;
    };

## Description

### `as` public member functions

1.     template<typename Value> T operator()(Value const & val) const;

2.     T operator()(csub_match const & val) const;

3.     T operator()(wcsub_match const & val) const;

4.     T operator()(ssub_match const & val) const;

5.     T operator()(wssub_match const & val) const;

6.     template<typename BidiIter>
         T operator()(sub_match< BidiIter > const & val) const;