D20737: Convert c arrays to std::array
Filip Gawin
noreply at phabricator.kde.org
Fri Apr 26 17:01:36 BST 2019
gawin added a comment.
C++ 17 (only :( ) allows to change:
struct someClass{...};
std::array<someClass, 3> array{{}, {}, {}};
to :
struct someClass{...};
std::array array{someClass{}, someClass{}, someClass{}};
I think second version (without size) is harder to read. :(
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D20737
To: gawin, #dolphin
Cc: meven, kfm-devel, #dolphin, alexde, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190426/5c0f94db/attachment.htm>
More information about the kfm-devel
mailing list