$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David A. Greene (greened_at_[hidden])
Date: 2006-01-25 13:32:05
Sohail Somani wrote:
>>>Why is there a need? Presumably you're potential surrogate 
>>
>>for shared_ptr  
>>
>>>will also support operator *, and that's all you use in 
>>
>>your function.
>>
>>Why is there a need to do what?  I'm not following you here.  I've
>>gone through and specified Type everywhere in my application.  It's
>>ugly but it works.  Would the upcoming template typedef feature
>>avoid the need to specify Type in the call?
> 
> I think what Jens is getting at is that you should use the duck-typing
> that 
> C++ templating affords you:
Ok, I had thought of that too.  It will require some significant
re-working of the application which I'm not sure I'm ready to do
quite yet.  Ultimately I think it is the correct way to go at this
point.
                              -Dave