mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
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:
committed by
Peter Dimov
parent
0fb3e58881
commit
7cc6436afc
@@ -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_;
|
||||||
|
|||||||
Reference in New Issue
Block a user