Boost logo

Boost Users :

Subject: [Boost-users] [General] Pointer dereferencing by fn call.
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-06-23 05:16:55


Does this

template<class T> T& *deref*( T* p ) { return *p; }

exist anywhere in Boost?

It's the kinda thing you need quite often when using bind, but I can't find
it
anywhere, which surprised me!

Thanks,

- Rob.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net