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
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.