Šimon Tóth’s Post

View profile for Šimon Tóth

C++ Educational Content Creator | 20 years of Software Engineering experience distilled into digestible daily posts

C++23 formalized the concepts of tuple-like and pair-like types. The set of tuple-like types is currently: std::array, std::pair, std::tuple, std::ranges::subrange and std::complex (since C++26). Pair-like types are tuple-like types that have two elements. All tuple-like types support a base set of operations: • assignment • comparisons • std::apply, std::make_from_tuple • std::tuple_size, std::tuple_element • std::tuple_cat Compiler Explorer link: https://lnkd.in/eE3SDWqd #cpp #cplusplus #coding #programming #dailybiteofcpp

  • text
Marc Gonzalez-Carnicer

TKH Security295 followers

2y

15 years ago I hated C++ and I loved python. Now C++ (well, the STL, still not in the language) is becoming more and more pythonic but still with the C++ look & feel.

Like
Reply

This looks very promising.

See more comments

To view or add a comment, sign in

Explore content categories