« first day (4895 days earlier)      last day (279 days later) » 

20:25
posted on March 11, 2024 by Blog Staff

It can be hard to follow code using enable_if. Andreas Fertig gives a practical example where C++20’s concepts can be used instead. C++20 Concepts Applied – Safe Bitmasks Using Scoped Enums by Andreas Fertig From the article: The idea is that the bit-operators are often used with enums to create bitmasks. Filesystem permissions are one example. Essentially yo

 
2 hours later…
22:00

« first day (4895 days earlier)      last day (279 days later) »