Boost logo

Boost :

Subject: Re: [boost] [heap] typedef T gets prevalence over template parameter
From: Alex Hagen-Zanker (ahh34_at_[hidden])
Date: 2012-09-07 06:02:04


On 07/09/2012 10:50, Tim Blechmann wrote:
>> ... or keep Cmp as a member, if possible. Although this would defeat EBO.
> atm, i'm more thinking of renaming T to a name that is unlikely to be
> used as member of the Cmp object like
> BoostHeapValueArgumentWithANameThatHopefullyDoesNotClashWithAnythingOnMsvc
>
> tim
That should work. But notice that the inheritence permeates all the way
to your main classes and the new name would end up in the public
interface and documentation of your library:

template<class T, class ...Options>
class d_ary_heap:
     public detail::select_dary_heap<T, typename
detail::d_ary_heap_signature::bind<A0, A1, A2, A3, A4, A5>::type>::type
{...


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