Subject: [Boost-users] reference_wrapper
From: er (erwann.rogard_at_[hidden])
Date: 2009-08-01 15:58:11


Hi All,

1) I don't understand this part of reference_wrapper:

template<class T> class reference_wrapper
{
        operator T& () const { return *t_; }
};

Could someone please explain it?

2) Is there already a reference wrapper for n-ary functors which exposes
the same result_type (if it exists) as the n-ary functor, but whose
arguments types are arbitrary (deduced from the arguments)?