$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-01-25 08:39:08
From: "Howard Hinnant" <hinnant_at_[hidden]>
>
> Furthermore, it is undefined to pass a non-pod to an ellipse (5.2.2/7):
>
> int foo(...);
>
> class B
> {
> public:
> B();
> private:
> B(const B&);
> };
>
> int main()
> {
> foo(B()); // undefined behavior
> }
>
> If you stick that in a sizeof, it is still undefined:
>
> sizeof(foo(B()));
Is it?
if(false) foo(B());
Is this undefined too?