Boost logo

Boost :

Subject: Re: [boost] [xint] Design Question
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-06-17 00:00:34


On 16 June 2010 20:01, Chad Nelson <chad.thecomfychair_at_[hidden]> wrote:
>
> Do you know of any way, short of making two nearly-identical copies of
> the integer_t class template, to provide different functions? I tried
> using multiple templated base classes, but the compiler seemed unable to
> find the inherited functions at all that way, for reasons I don't
> understand.
>

SFINAE, through enable_if and disable_if?

Without more details, it's hard to know what you're asking for.


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