Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Namespace Members   Compound Members   File Members  

arg::functional Namespace Reference

Implementation classes supporting arg::subject template. More...


Compounds

class  const_functor_ref_t
class  functor_ref_t

Functions

template<class functor> const_functor_ref_t<functor> functor_ref (const functor& ff)
Utility to build a "reference to a functor".

template<class functor> functor_ref_t<functor> functor_ref (functor& ff)
Utility to build a "reference to a functor".


Detailed Description

Implementation classes supporting arg::subject template.

This probably wants rationalising later...

The following was written after getting fed up with trying to pursuade egcs and MSVC to both approve the same code that used std::mem_fun with operator() arg {01-Oct-99}

Author(s):
alan@octopull.co.uk


Function Documentation

template<class functor>
const_functor_ref_t<functor> arg::functional::functor_ref (const functor & ff)

Utility to build a "reference to a functor".

template<class functor>
functor_ref_t<functor> arg::functional::functor_ref (functor & ff)

Utility to build a "reference to a functor".


Copyright 1999-2000 Alan Griffiths