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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8a3b943d6cda9a77 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!cyclone.bc.net!skynet.be!newspost001!tjb!not-for-mail Date: Fri, 06 May 2005 10:07:35 +0200 From: Adrien Plisson Reply-To: aplisson-news@stochastique.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Importing and using a C++ class in Ada. Pragma Cpp_Constructor, Cpp_Class References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <427b253a$0$28067$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 6fd305db.news.skynet.be X-Trace: 1115366714 news.skynet.be 28067 80.200.179.48:10027 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:10939 Date: 2005-05-06T10:07:35+02:00 List-Id: Christopher Gosset wrote: > As I see it this is far from intuitive and its a major reason for NOT > converting to ada try to import a bunch of other languages from C++, and it becomes a major reason for NOT converting to C++... > I assume that the fact that there are no examples of the usage of these > Pragmas in the userguide or reference manual suggests that this is not > as straigth forward as advertised. are you searching the right reference manual ? those pragmas seems GNAT specific, and are described in the GNAT RM (for 3.15p, in 10.2: Interfacing to C++, and 1: Implementation defined pragmas). -- rien