------- Additional Comments From pcarlini at suse dot de 2005-05-15 15:03 ------- > Is there a way to distinguish between unions (which are not usable as base > classes) and classes? If not, the standard is incomplete.
You should know that 10 years ago people didn't even imagine the kind of template usages that you are assuming as obvious. Indeed, everyone wants to tell unions from classes now and you bet, it will be possible sometime in the future, likely not using SFINAE at all. Before posting other messages with this attitude, please, please have a look to the papers available from the ISO Web site: http://www.open-std.org/jtc1/sc22/wg21/ Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21510