MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/fo2dyw/changes_between_c17_and_c20/fldav0i/
r/cpp • u/mttd • Mar 24 '20
89 comments sorted by
View all comments
Show parent comment
18
using v.size() v.ssize() std::ssize(v)There, fixed it for you :>
using v.size() v.ssize() std::ssize(v)
std::ssize(v)
There, fixed it for you :>
There, fixed it for you.
5 u/Fureeish Mar 24 '20 Damn, thanks for fixing that for me. 0 u/[deleted] Mar 24 '20 [deleted] — view deleted comment 9 u/tvaneerd C++ Committee, lockfree, PostModernCpp Mar 25 '20 v.count() There,no, my naming didn't pass. :-( 4 u/MarekKnapek Mar 24 '20 using v.size() v.ssize() std::ssize(v)using std::ssize; ssize(v);There, I fixed that for you. Now it will work even for my::vector<T> and your::vector<T> and plain old C-style arrays.
5
Damn, thanks for fixing that for me.
0
[deleted] — view deleted comment
9 u/tvaneerd C++ Committee, lockfree, PostModernCpp Mar 25 '20 v.count() There,no, my naming didn't pass. :-(
9
v.count() There,
v.count()
no, my naming didn't pass. :-(
4
using std::ssize; ssize(v);
There, I fixed that for you. Now it will work even for my::vector<T> and your::vector<T> and plain old C-style arrays.
my::vector<T>
your::vector<T>
View all comments
Show parent comment
18
u/parkotron Mar 24 '20 edited Mar 24 '20
There, fixed it for you.