ILE C++ standards

Charles Wilt <[email protected]> Thu, 9 Jul 2020 16:05:52 -0600
Newsgroups gmane.comp.lang.as400.c
Message-ID <CAJ=Tnc4zZPJkCk-An7fQhznE3heG430kXdiyMsVoEp6jtjnUZQ@mail.gmail.com>
So we're trying to port a small C++ utility to ILE...

One of the compile errors is on the following...
for(auto& ele : inVars)

Apparently this the "for each" loop which was added to C++ in 2011...(aka
C++11)

We're on v7.2, but even the v7.4 manual doesn't show it as valid.

Looks like C++ on the IBM i include part of the C+11 standards, but not yet
all.  And of course C++14 and C++17 are nowhere to be found.

Bit surprised the i is so far behind the times, but I suppose most don't
use ILE C/C++...

Charles
-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com