boost/ref.hpp:

- Added get_pointer method to return a pointer (instead of a reference)

libs/bind/ref.html:
  - Document get_pointer


[SVN r13322]
This commit is contained in:
Douglas Gregor 2002-03-31 00:24:00 +00:00
parent 15f69eaf14
commit dc1b6246a0

View File

@ -36,6 +36,8 @@ public:
T& get() const { return *t_; } T& get() const { return *t_; }
T* get_pointer() const { return t_; }
private: private:
T* t_; T* t_;