The first part of this is probably a stupid question

Terje Slettebų wrote:
> 
> What makes the template typedef proposal different from the template alias
> proposal, is that the former may be specialised, and the latter may be
> deduced.


What do you mean by deduced?  I saw it in the proposal too...

Here's a copy of text from the proposal:

***
template<class T, class P> class smart_ptr;
template<class T> typedef smart_ptr<T, SharedPolicy> shared_ptr;
template<class T> void f(smart_ptr<T, SharedPolicy>);
template<class T> void f(shared_ptr<T>);

In this proposal, the last two lines declare different templates.
***

That is the kind of stuff that concerns me.  There is a deviation in the
usage of smart_ptr<T, SharedPolicy> and shared_ptr<T> even though they
are typedef'd to be the same.  


Also, where should such discussion be going?  Someone mentioned that
this is not the place, but I'm not familiar with the various other
mailing lists.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to