
7 Sep
2012
7 Sep
'12
10:02 a.m.
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 {...