|
|
1 | #ifndef ESTL_H |
|
|
2 | #define ESTL_H |
|
|
3 | |
1 | #include <stdlib.h> |
4 | #include <stdlib.h> |
2 | #include <string.h> |
5 | #include <string.h> |
3 | |
6 | |
4 | template<typename T, typename U> static inline T min (T a, U b) { return a < (T)b ? a : (T)b; } |
7 | template<typename T, typename U> static inline T min (T a, U b) { return a < (T)b ? a : (T)b; } |
5 | template<typename T, typename U> static inline T max (T a, U b) { return a > (T)b ? a : (T)b; } |
8 | template<typename T, typename U> static inline T max (T a, U b) { return a > (T)b ? a : (T)b; } |
… | |
… | |
272 | |
275 | |
273 | template<typename T> |
276 | template<typename T> |
274 | struct vector : simplevec<T> |
277 | struct vector : simplevec<T> |
275 | { |
278 | { |
276 | }; |
279 | }; |
|
|
280 | |
|
|
281 | #endif |