From 2314f20c4eb8e42b721f679993fb0a56b3b87ef4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 15 Nov 2002 19:44:48 +0000 Subject: [PATCH] element_type added [SVN r16264] --- include/boost/intrusive_ptr.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/intrusive_ptr.hpp b/include/boost/intrusive_ptr.hpp index 4ada734..26c57b1 100644 --- a/include/boost/intrusive_ptr.hpp +++ b/include/boost/intrusive_ptr.hpp @@ -47,6 +47,8 @@ private: public: + typedef T element_type; + intrusive_ptr(): p_(0) { }