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-Google-Thread: a07f3367d7,2078ce7aac45af5b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.105.205 with SMTP id u13mr10984798qao.6.1352938844472; Wed, 14 Nov 2012 16:20:44 -0800 (PST) Received: by 10.49.73.228 with SMTP id o4mr51035qev.31.1352938844400; Wed, 14 Nov 2012 16:20:44 -0800 (PST) Path: gf5ni57984567qab.0!nntp.google.com!u2no3246439qal.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 14 Nov 2012 16:20:44 -0800 (PST) In-Reply-To: <0114d327-9f9f-4ad2-9281-56331d11a90c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.78.59 References: <0114d327-9f9f-4ad2-9281-56331d11a90c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada202X : Adding functors From: sbelmont700@gmail.com Injection-Date: Thu, 15 Nov 2012 00:20:44 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-11-14T16:20:44-08:00 List-Id: On Monday, November 12, 2012 5:09:15 PM UTC-5, Martin wrote: > I'm increasingly using functors in my C++ life and they are very cool. I'd like to be able to use them in my Ada life too but the language doesn't support it - or can someone tell me I'm wrong? > IMHO, lambda closures are better in every way than a 'functor', and I for one would welcome their addition to Ada. That is, assuming the mind-bending travesty of a syntax that Cx11 chose could be avoided. -sb