Boost logo

Boost :

From: Borgerding, Mark A. (MarkAB_at_[hidden])
Date: 2000-03-16 14:40:26


I was in the process of making the changes when I got your email.

Attached are the latest versions of smart_ptr.hpp and config.hpp, modified
to work with MSVC for templated copies and assigns.

I also threw the BOOST_MULTI_THREAD definition into config.hpp. It
shouldn't affect anyone who doesn't need it.

> -----Original Message-----
> From: Beman Dawes [mailto:beman_at_[hidden]]
> Sent: Thursday, March 16, 2000 2:08 PM
> To: boost_at_[hidden]; boost_at_[hidden]
> Subject: [boost] Re: Questions
>
>
> At 10:33 AM 3/16/00 -0800, Miki Jovanovic wrote:
>
> >> Wait, wait... I am using both template members and template
> >functions. Two
> >> examples:
> >>
> >> // constructor
> >> template<typename D> SharedPtr( const SharedPtr<D>& ptr ) {
> >> share( ptr );
> >> }
> >>
> >> // operator
> >> template<typename T, typename D>
> >> bool operator==( const SharedPtr<T>& ptr1, const SharedPtr<D>&
> ptr2 )
> >{
> >> return ptr1.ptr() == ptr2.ptr();
> >> }
> >>
> >> They both work fine.
> >>
> >> I am sorry for joining the conversation late. I will look back to
> >catch up
> >> on the thread and make some cohesive comments. But the below
> >statement: "Ok
> >> MS VC++6 does not support template function" does not seem
> correct.
>
> VC++ has some limitations on member template support.
>
> Argh! There is an email sitting in my "Boost Action Needed" folder
> from Mark Borgerding with VC++ workarounds. I need to apply them.
> That isn't the only fix pending; I will try to work through the
> backlog in the next few days.
>
> --Beman
>
>
> --------------------------------------------------------------
> ----------
> Special Offer-Earn 300 Points from MyPoints.com for trying @Backup
> Get automatic protection and access to your important computer files.
> Install today:
> http://click.egroups.com/1/2344/1/_/9351/_/953234848/
>
> -- 20 megs of disk space in your group's Document Vault
> -- http://www.egroups.com/docvault/boost/?m=1
>
>





Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk