Changeset 8d76f2b for libcfa/src/containers
- Timestamp:
- Apr 11, 2022, 1:02:54 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 13888c0e, 437b8b5
- Parents:
- a08443b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/containers/array.hfa
ra08443b r8d76f2b 1 #include <assert.h> 1 2 2 3 … … 34 35 35 36 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, int i ) { 37 assert( i < N ); 36 38 return (Timmed &) a.strides[i]; 37 39 } 38 40 39 41 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, unsigned int i ) { 42 assert( i < N ); 40 43 return (Timmed &) a.strides[i]; 41 44 } 42 45 43 46 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, long int i ) { 47 assert( i < N ); 44 48 return (Timmed &) a.strides[i]; 45 49 } 46 50 47 51 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, unsigned long int i ) { 52 assert( i < N ); 48 53 return (Timmed &) a.strides[i]; 49 54 }
Note: See TracChangeset
for help on using the changeset viewer.