- Timestamp:
- Sep 18, 2023, 10:21:29 AM (11 months ago)
- Branches:
- master
- Children:
- e4c3819
- Parents:
- e3784a50 (diff), 7edf912 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/common.hfa
re3784a50 ra2c2363 69 69 T min( T v1, T v2 ) { return v1 < v2 ? v1 : v2; } 70 70 71 forall( T, Ts... | { T min( T, T ); T min( T, T s ); } )72 T min( T v1, T v2, T s vs ) { return min( min( v1, v2 ), vs ); }71 forall( T, Ts... | { T min( T, T ); T min( T, T, Ts ); } ) 72 T min( T v1, T v2, T v3, Ts vs ) { return min( min( v1, v2 ), v3, vs ); } 73 73 74 74 forall( T | { int ?>?( T, T ); } ) 75 75 T max( T v1, T v2 ) { return v1 > v2 ? v1 : v2; } 76 76 77 forall( T, Ts... | { T max( T, T ); T max( T, T s ); } )78 T max( T v1, T v2, T s vs ) { return max( max( v1, v2 ), vs ); }77 forall( T, Ts... | { T max( T, T ); T max( T, T, Ts ); } ) 78 T max( T v1, T v2, T v3, Ts vs ) { return max( max( v1, v2 ), v3, vs ); } 79 79 80 80 forall( T | { T min( T, T ); T max( T, T ); } )
Note: See TracChangeset
for help on using the changeset viewer.