|
From: | Ron Natalie |
Subject: | Re: cannot pass objects of non-POD type |
Date: | Thu, 14 Oct 2004 10:19:41 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Thunderbird/0.8 Mnenhy/0.6.0.104 |
Jonathan Turkanis wrote:
Furthermore, IIRC, Andrei's original implementation was actually non-conforming because it passed user-defined types through ellipses. In order to get a completely conforming implementation you have to jump through a few more hoops.
User defined types are fine. It's user defined non-POD types that are not. The problem is that the variable arg mechanism was never updated to deal with C++. It's restricted to behavior from C (with the goofy exception of allowing all the args to a function to be variable but there's no defined way of extracting such).
[Prev in Thread] | Current Thread | [Next in Thread] |