Boost logo

Boost :

Subject: Re: [boost] boost policy against inline friend functions?
From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2009-10-26 15:50:45


>Apparently some compilers don't support template friends. There is the
>BOOST_NO_MEMBER_TEMPLATE_FRIENDS config macro to detect this though.

There's also a comment below the public comparison functions:

// Tasteless as this may seem, making all members public allows member
templates
// to work in the absence of member template friends. (Matthew Langston)

Philippe


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