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.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_REPLYTO,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Sylvain Laperche Newsgroups: comp.lang.ada Subject: Re: Scanner library Ada binding? Date: Mon, 31 Oct 2016 13:36:27 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <197b234f-c0e8-4b30-931e-0f97e8718168@googlegroups.com> Reply-To: sylvain.laperche@gmail.com Injection-Date: Mon, 31 Oct 2016 13:36:27 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="4b7e1666299f346d9ae90806afb5607a"; logging-data="28225"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ApYUtnzJYogogDtbM6iys7rwZ4K43LK0=" User-Agent: slrn/1.0.2 (FreeBSD) Cancel-Lock: sha1:9XdXD2VqW/LQfxPBqHdQUgDVmzY= Xref: news.eternal-september.org comp.lang.ada:32214 Date: 2016-10-31T13:36:27+00:00 List-Id: On 2016-10-28, Dennis Lee Bieber wrote: > On Thu, 27 Oct 2016 14:08:38 -0700 (PDT), Stephen Leake > declaimed the following: >> It was a frustrating experience. The sample code uses C++ syntax that I could >> not find definitions for (I think "^" is some variant of pointer). The >> Microsoft code documentation makes the Google Android docs > > C++ or C#? > > In C/C++, ^ is a bit-wise Exclusive Or... And apparently the same for C# I think the sample code was using C++/CLI[1] instead of real C++. In this "language", ^ represent a kind of garbage-collected pointer[2]. [1]: https://en.wikipedia.org/wiki/C%2B%2B/CLI [2]: https://msdn.microsoft.com/en-us/library/yk97tc08.aspx