-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
- According to the current proposal, all new code in C++ will have to designate every function as
safe, which is quite tedious. Maybe makes sense to make top-level#feature on safetyautomatically mark every function in the translation unit assafewithout the need to repeat oneself? - C++11 changed
autofrom a storage specifier into a type inference facility in a backward incompatible fashion, assuming thatautowasn't really used in pre-C++11 code. C++20 introduced modules, which are currently supported by only one compiler. Would it be possible to make modulessafeby default in a backward-incompatible way (just like withauto), exploiting the fact that modules are still essentially unused? Or to introduceexport safe modulein which you don't have to keep writingsafeall the time?
kammce, igaztanaga and cookpate
Metadata
Metadata
Assignees
Labels
No labels