Changeset fee4436
- Timestamp:
 - Jul 28, 2024, 8:58:13 PM (15 months ago)
 - Branches:
 - master
 - Children:
 - 82ff201a
 - Parents:
 - 5ff721a
 - File:
 - 
      
- 1 edited
 
- 
          
  libcfa/src/collections/array.hfa (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
libcfa/src/collections/array.hfa
r5ff721a rfee4436 1 1 #pragma once 2 2 3 #include <assert.h>3 //#include <assert.h> 4 4 5 5 … … 8 8 #define ztag(n) ttag(n) 9 9 10 #ifdef __CFA_DEBUG__ 10 11 #define subcheck( arr, sub, lb, ub ) \ 11 12 if ( (sub) < (lb) || (sub) >= (ub) ) \ 12 13 abort( "subscript %ld exceeds dimension range [%d,%zd) for array %p.\n", \ 13 (sub), (lb), (ub), (arr) ); 14 (sub), (lb), (ub), (arr) ) 15 #else 16 #define subcheck( arr, sub, lb, ub ) do {} while (0) 17 #endif 14 18 15 19 //  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.