9 Commits

Author SHA1 Message Date
John Wellbelove
64c33cb4dd Moved non-user headers to private sub-directory. 2015-12-10 14:09:57 +00:00
John Wellbelove
632bc59f9c 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-10 13:45:29 +00:00
John Wellbelove
1ffa608734 Added extra debug runtime check for assign() 2015-12-07 10:55:25 +00:00
John Wellbelove
5553905f89 Fixed comments 2015-08-28 20:24:51 +01:00
John Wellbelove
66eb540f5b Fixed flat map index test.
Used ETL_ERROR macros for exceptions.
Added new files to project.
2015-08-28 15:10:52 +01:00
jwellbelove
410109d72c Complete rewrite of aligned storage functionality and subsequent changes to the containers. 2015-03-15 16:29:46 +00:00
jwellbelove
d3fba81639 Added copy contructor.
Removed operator= from interface classes.
2015-03-01 21:20:43 +00:00
jwellbelove
b84f507304 Added flat_map & flat_set. 2015-02-23 21:13:55 +00:00
jwellbelove
6ad8abecc9 Renamed lookup to flat_map 2015-02-18 22:43:33 +00:00