Š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

Since C++20, the explicit specifier can be conditional. This allows for generic code that permits implicit conversions in safe cases. In this example, the wrapper for integral types permits implicit conversion only when the destination type can represent the full range of the source type. Compiler Explorer link: https://lnkd.in/esjgCmv9 #cpp #cplusplus #coding #programming #dailybiteofcpp

  • text

discuss more C++ advancements about vector,linked list,multi-threading and dynamic programming

Like
Reply

To view or add a comment, sign in

Explore content categories