Controlled Variables 1.3.3
Last update:
Mon, 22 October 2012, 12:00:04 pm
Submission date:
Sat, 29 October 2011, 6:00:04 am
Vote for this product
Controlled Variables description
Controlled Variables for secure C++ by forcing variables initialization.
Controlled Variables makes your C++ code more secure by protecting variables forcing proper initialization in all circumstances. This works with a default initialization, force you to initialize variables, or at least prevents you from using a variable that is not initialized. The project includes limited variables which cannot be set to a value outside of the specified range making them very useful to avoid all sorts of problems. In call cases, when undefining the debug variables (CONTROLLED_VARS_DEBUG and CONTROLLED_VARS_LIMITED) the templates are reduced to the basic type except for the initialization. In other words, there is absolutely no overhead in using the Controlled Variables which means that everyone should use them at all times. Also it prevents some problems such as using the wrong variable as a parameter in a function call. Requirements: A standard C++ compiler to use the header. A C++ compiler and cmake to build the generator. What's new in this release: This release fixes a few things in the existing code (especially many variable shadowing see with -Wshadow) and adds a safe pointer template. Comments (0)
FAQs (0)
History
Promote
Author
Analytics
Videos (0)
|