Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.

Struct _void

boost::proto::_void — A PrimitiveTransform that does nothing and returns void.


// In header: <boost/proto/transform/arg.hpp>

struct _void :  proto::transform< _void > {
  // member classes/structs/unions
  template<typename Expr, typename State, typename Data> 
  struct impl :  proto::transform_impl< Expr, State, Data > {
    // types
    typedef void result_type;

    // public member functions
    void operator()(typename impl::expr_param, typename impl::state_param, 
                    typename impl::data_param) const;