K&R-style variadic functions
Walter Bright
newshound2 at digitalmars.com
Wed Jul 18 13:12:11 PDT 2012
On 7/18/2012 11:47 AM, Jacob Carlborg wrote:
> On 2012-07-18 20:43, Walter Bright wrote:
>> On 7/18/2012 4:59 AM, Jacob Carlborg wrote:
>>> Does that mean that this C++ declaration:
>>>
>>> void foo (...);
>>
>> Not allowed in C or C++.
>
> When compiling in C++ mode, both Clang and GCC accepts this.
How would you get the arguments inside foo?
More information about the Digitalmars-d
mailing list