[konsole] [Bug 432639] Konsole needs gcc > 8.3 (fully supporting C++17) for for_each_n function

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Feb 18 07:18:15 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=432639

--- Comment #3 from rcorreia31 at gmail.com ---
API for_each is well compiled by gcc 8.3.1

I am not familiar with C++ development but from what I see from for_each_n and 
for_each specifications, the main difference is the second parameter.

For for_each_n, this is a count whether for for_each it is a last/max value.
So may be:
 std::for_each (s, s+count, [&out](const Character &i) { out += i.character;
});
It compiles but I don't know how to check if it really does what is expected
from this toDebug function.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list