$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] boost policy against inline friend functions?
From: Stefan Strasser (strasser_at_[hidden])
Date: 2009-10-26 16:05:39
> what's wrong with
>     template<class Y> friend bool operator<(shared_ptr<Y> const & rhs)
> const {
>         return pn < rhs.pn;
>     }
> in class shared_ptr?
should have been
> what's wrong with
>     template<class Y> friend bool operator<(shared_ptr<T> const 
&a,shared_ptr<Y> const &b)
> const {
>         return a.pn < b.pn;
>     }
> in class shared_ptr?