C++0x support macros

Esben Mose Hansen kde at mosehansen.dk
Wed Jun 1 19:38:06 UTC 2011


On 2011-06-01 15:42, Wolfgang Bangerth wrote:
> Right. But can it distinguish between the return types if there are overloads,
> i.e.
>    auto p1 = tria.begin_active();
>    auto p2 = tria.begin_active(1);
> ?
>

Yes, but not perfectly so. E.g, it gets

float f;
std::fabs(f);

right but not

std::fabs(0.4f);

Such could be improved, though.

-- 
very kind regards,
Esben Mose Hansen





More information about the KDevelop-devel mailing list