Re: help needed with array out arguments



ERDI Gergo <cactus@cactus.rulez.org> wrote:
> I'm looking for the memory allocation scheme that should be used for
> fixed-length 'out' array arguments

According to the C++ spec (Section 1.22.1), fixed-length arrays used as
inout or out arguments should be allocated (and freed) by the caller.
-- 
Sam "Eddie" Couter  |  mailto:scouter@bigpond.net.au
Debian Developer    |  mailto:eddie@debian.org
                    |  jabber:sam@jabber.topic.com.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]