Boost logo

Boost :

Subject: Re: [boost] [type traits extension] test for const volatile& as return type
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-07-06 07:38:28

On 7/6/2011 12:44 AM, Frédéric Bron wrote:
>> template<class T> void g(T) { std::cout<<"g(T)\n"; } ?
> I cannot use that because I want in that particular case g(...) be chosen.
>> I think you need to reproduce your exact case. Your code above can not tell
>> anyone what is actually going on.
> I maybe forgot to say that I want g(...) to be chosen for T=const int&.

I apologize, Frederic. I could not tell what you meant as your example
in your OP.

Boost list run by bdawes at, gregod at, cpdaniel at, john at