From: "Howard Hinnant" <[EMAIL PROTECTED]>
> 
> 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?
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to