[General] Pointer dereferencing by fn call.

23 Jun
2009
23 Jun
'09
9:16 a.m.
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.

23 Jun
23 Jun
12:32 p.m.
Robert Jones escribió:
Does this
template<class T> T& *deref*( T* p ) { return *p; }
exist anywhere in Boost?
Boost.MultiIndex identity extractor: http://www.boost.org/libs/multi_index/doc/reference/key_extraction.html#iden... can fit the bill, I guess. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
5798
Age (days ago)
5798
Last active (days ago)
1 comments
2 participants
participants (2)
-
joaquin@tid.es
-
Robert Jones