Thank you for answer me, but the thing is I cannot get what I need. How can I create an pValue object with different  type??
because in my test It does not create a sharer_ptr of CVALUE specified in bool value. Do you know what I mean??

Thank you ...

On Wed, Jan 28, 2009 at 2:20 AM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG


Max wrote:

replace

 
Type<bool>::pValue a;

with

 
typename Type<bool>::pValue a;


typename is illegal outside of templates.


In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users