24 Jan
2002
24 Jan
'02
4:56 p.m.
From: "Duane Murphy"
Is there an appropriate work around? I have been using:
namespace boost { inline obj* get_pointer( obj & p ) { return &p; } }
As this was the source of the compiler error. Is there a better work around?
No, this is it - at the moment. You shouldn't need many of these, hopefully.
I am leary of a full template replacement for this because I dont know what the side affects would be:
namespace boost { template < class T > inline T* get_pointer( T & r ) { return &r; } }
This will break a lot of things. :-)