Howard Hinnant <[EMAIL PROTECTED]> writes:

> Fortunately circumstances such as the one illustrated
> above seem to be rare (at least in my experience).  But
> it is amusing (amazing?) how many traits like tests are
> today passing non-POD classes to an ellipsis, and
> invoking undefined behavior! :-)

I thought there wansn't any undefined behavior there, because none of
the traits actually generate or execute the code within sizeof().  I
can understand it being unspecified whether you get an error due to
accessibility of the c-ctor.  Am I misunderstanding how the standard
works in this area?

-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to