reference_wrapper question

Hello,
I have a small problem. Some of my data holders have dereference operator
which returns refernces to contained types. The problem I face here is that
I have some noncopyable types and the dereference operator fails to compile.
I thought using a reference_wrapper class could do the trick, but then I can
not call functions on the contained type without explict casting, regardless
operator T&() const defined.
here is a small test app to simulate the behavior:
#include
participants (1)
-
Ovanes Markarian