Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2004-04-07 12:44:12


Reece Dunn wrote:
>
> Why can't you do:
>
> namespace boost
> {
> template< class T >
> struct nonderivable;
>
> namespace detail
> {
> template< class T >
> class nonderivable_base
> {
> friend T;
----------^^^^^^^^^
not standard, alas.

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

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