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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:a207:: with SMTP id l7-v6mr3519408ioe.134.1530833557543; Thu, 05 Jul 2018 16:32:37 -0700 (PDT) X-Received: by 2002:aca:f495:: with SMTP id s143-v6mr1787560oih.7.1530833557274; Thu, 05 Jul 2018 16:32:37 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feeder4.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!d7-v6no3098717itj.0!news-out.google.com!l67-v6ni3166itl.0!nntp.google.com!g2-v6no18568itf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 5 Jul 2018 16:32:37 -0700 (PDT) In-Reply-To: <85743ee2-7d33-4024-a497-73a8dae0f480@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=121.45.207.96; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 121.45.207.96 References: <85743ee2-7d33-4024-a497-73a8dae0f480@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Interface Ada string with C++ std::string From: Roger Injection-Date: Thu, 05 Jul 2018 23:32:37 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:53679 Date: 2018-07-05T16:32:37-07:00 List-Id: Just to complete the story, the solution was extremely simple, just a C++ wrapper in which a std::string constructor is used to generate a std::string from a char* string which is then used in calling the required C++ routine.