Controlled Variables 1.3.0
Controlled Variables 1.3.0 Ranking & Summary
Controlled Variables 1.3.0 description
Controlled Variables 1.3.0 is described as an advanced yet easy to use tool which lets you avoid forgetting the initialization of variable members since these variables cannot be initialized where declared1. Classes are here to help you and they do a great job at this, even for basic types such as char, int, and long variables. Really! The main C++ bugs came from forgetting the initialization of variable members. Controlled Variables can actually be used anywhere you declare a basic type variable without immediately initializing it (and limited controlled variables anywhere a bounded value is used.)
- This version writes each template in a separate file (instead of one humongous controlled_vars.h file.)
- It introduced 2 sub-exception classes.
- It added a static assert against the boundaries of limited class types to detect invalid boundaries or intialization value at compile time.
- It reduced the number of lines of each heder file by writing all the functions on a single line (the total number of lines is now around 6700 whereas before it was over 22,000. Note, however, that this won't make the compiler go faster if you still include the controlled_vars.h file.)
- Added a version header so one can check which version is being used.
- Added the wchar_t type since all C++ compilers must have that type defined as a basic type.
- Added the CONTROLLED_VARS_LIMITED to turn on the limited checks.
- Optimized the template definition of the limited types by creating a check() function which avoids the cast to the limited type (i.e. setting a char to 256 is not equivalent to setting it to zero anymore, so you do get errors as would otherwise be expected.)
- CMake and a C++ compiler
Controlled Variables 1.3.0 Screenshot
Controlled Variables 1.3.0 Keywords
Bookmark Controlled Variables 1.3.0
Controlled Variables 1.3.0 Copyright
Want to place your software product here?
Please contact us for consideration.