From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c1b1b81e16e83802,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-30 02:11:13 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: vashwath@rediffmail.com (prashna) Newsgroups: comp.lang.ada Subject: Help-memory allocation Date: 30 Jun 2003 02:11:12 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 203.90.112.53 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1056964272 25059 127.0.0.1 (30 Jun 2003 09:11:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 30 Jun 2003 09:11:12 GMT Xref: archiver1.google.com comp.lang.ada:39924 Date: 2003-06-30T09:11:12+00:00 List-Id: Hi all, How to check whether the memory is allocated or not when using new operator?in other words, what the operator "new" returns if memory allocation fails?Surprisingly no tutorial or book mentions what it returns or is that this "new"(Ada) is entirely different from C++ "new" or C's malloc. Any pointers on this will be appreciated.