Š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

One option to distinguish two function calls that would otherwise fully overlap in their argument types is using type tagging. This technique is particularly useful for constructors since constructors cannot be renamed. Compiler Explorer link: https://lnkd.in/ee_Wnjbt #cpp #cplusplus #coding #programming #dailybiteofcpp

  • text

In my humble opinion, C++ lacks "named parameters" as well as "named constructors", which are quite convenient syntactic sugar.

Like
Reply

To view or add a comment, sign in

Explore content categories