more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@348 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
76309d2b5c
commit
7b4424b3fd
7 changed files with 311 additions and 193 deletions
|
@ -18,16 +18,19 @@
|
|||
namespace Loki
|
||||
{
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// \struct Function
|
||||
///
|
||||
/// \ingroup FunctorGroup
|
||||
/// Allows a boost/TR1 like usage of Functor.
|
||||
///
|
||||
/// e.g. Functor<int,LOKI_TYPELIST_2(int,int)> becomes Function<int(int,int)>
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
template<class R = void()>
|
||||
struct Function : public Functor<R>
|
||||
{
|
||||
};
|
||||
struct Function : public Functor<R>
|
||||
{
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Function allows a boost/TR1 like usage of Functor.
|
||||
//
|
||||
// e.g. Functor<int,LOKI_TYPELIST_2(int,int)> becomes Function<int(int,int)>
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
template<class R>
|
||||
struct Function<R()> : public Functor<R>
|
||||
|
@ -42,7 +45,7 @@ namespace Loki
|
|||
FBase::operator=(func);
|
||||
}
|
||||
|
||||
// emptiness
|
||||
// test on emptiness
|
||||
template<class R2>
|
||||
Function(Function<R2()> func) : FBase()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue