Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-01 09:59:24

Alexander Nasonov <alnsn-mycop_at_[hidden]> writes:

> I'm trying to apply this technique
> but I can't. Is something wrong there?

Yes. SFINAE doesn't extend to expressions in sizeof(...). It only
ignores malformed types, but the illegal expression is checked before
any type is formed "around it". At least, that's the way I
understand it.

Dave Abrahams
Boost Consulting

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