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  {

  // public member functions
  ();
  template<typename T, typename Enable> 
     () ;
  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 member functions

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

PrevUpHomeNext