$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2003-01-24 21:36:51
Howard Hinnant <hinnant_at_[hidden]> 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 dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution