C++Guns – RoboBlog


C++ Guns: P1161R3 Deprecate uses of the comma operator in subscripting expressions

Filed under: Allgemein — Tags: — Thomas @ 14:07


ND Arrays in std C++ wir kommen


Don't forget GCC -Werror=unused-value

array[x]      // Ok
array[(x,y)]  // Ok, uses y as index/key
array[x,y]    // Deprecated, uses y as index/key

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress