12 Commits

Author SHA1 Message Date
John Wellbelove
16a1978f43 Added link to www.etlcpp.com in licence header. 2015-12-16 11:09:56 +00:00
John Wellbelove
a048784285 Changed the way that errors are produced and handled.
Compile time macros control the type and verbosity of the errors to allow space and performance optimisation.
2015-12-15 19:28:12 +00:00
John Wellbelove
48919b3c15 Modified the error system.
Remove ETL_ERROR and replaced with ETL_ASSERT.
ETL_ASSERT will eveluate to 'true' in all cases except for error logging.
This will allow 'if' statements that contain the macro to be optimised away for all cases except logging.
Added ETL_NO_CHECKS and ETL_LOG_ERRORS macro checks.

The options are now:-
ETL_NO_CHECKS         ETL_ASSERT does nothing. Evaluates to 'true'.
ETL_THROW_EXCEPTIONS) ETL_ASSERT throws an exception if the condition fails. Evaluates to 'true'.
ETL_LOG_ERRORS        ETL_ASSERT logs the error if the condition fails. Evaluates to the result of the condition.
If none of the above are defined:-
NDEBUG ETL_ASSERT does nothing. Evaluates to 'true'.
Otherwise:-
ETL_ASSERT asserts if the condition fails. Evaluates to 'true'.
2015-12-11 19:02:47 +00:00
jwellbelove
2a059c1acb Modified to be compatible with IAR 2015-03-16 20:03:31 +00:00
jwellbelove
410109d72c Complete rewrite of aligned storage functionality and subsequent changes to the containers. 2015-03-15 16:29:46 +00:00
jwellbelove
ae385d5561 Added Github link to copyright notice. 2015-02-22 13:23:18 +00:00
jwellbelove
4f7745d46e Minor mods to comments 2015-01-17 14:01:34 +00:00
jwellbelove
03eea58d1f Added error handler options. 2014-12-22 00:55:46 +00:00
jwellbelove
4086a7f7f6 Removed unused do_cast functions. 2014-12-18 20:04:19 +00:00
jwellbelove
03367f0503 Added doxygen tags 2014-12-09 16:06:17 +00:00
jwellbelove
328efd1b7b Change alignment class name 2014-12-08 20:18:47 +00:00
jwellbelove
8c281d1507 Class similar to boost variant
Allows many types to be held in a class.
2014-11-19 18:40:52 +00:00