Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template closure

boost::stl_interfaces::closure

Synopsis

// In header: <boost/stl_interfaces/view_adaptor.hpp>

template<typename F> 
struct closure : public  {
  // construct/copy/destruct
  ();

  // public member functions
  template<typename T, 
           typename Enable> 
     () ;
};

Description

An invocable consisting of a contained invocable f. Calling operator() with some argument t calls f(t) and returns the result. This type is typically used to capture a the result of a call to bind_back().

closure public construct/copy/destruct

  1. ( f);

closure public member functions

  1. template<typename T, 
             typename Enable> 
       ( t) ;

PrevUpHomeNext