Changeset 9c47a47 for src/libcfa/stdlib
- Timestamp:
- Dec 28, 2017, 9:56:28 PM (5 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 853451b
- Parents:
- e672372
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/stdlib
re672372 r9c47a47 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Dec 23 18:21:42 201713 // Update Count : 2 6712 // Last Modified On : Thu Dec 28 18:43:12 2017 13 // Update Count : 277 14 14 // 15 15 … … 185 185 //--------------------------------------- 186 186 187 forall( otype T | { int ?<?( T, T ); } ) 188 T * bsearch( T key, const T * arr, size_t dim ); 189 190 forall( otype T | { int ?<?( T, T ); } ) 191 unsigned int bsearch( T key, const T * arr, size_t dim ); 192 193 194 forall( otype T | { int ?<?( T, T ); } ) 195 void qsort( const T * arr, size_t dim ); 187 forall( otype E | { int ?<?( E, E ); } ) 188 E * bsearch( E key, const E * arr, size_t dim ); 189 190 forall( otype E | { int ?<?( E, E ); } ) 191 unsigned int bsearch( E key, const E * arr, size_t dim ); 192 193 forall( otype K, otype E | { int ?<?( K, K ); K getKey( E & ); } ) 194 E * bsearch( K key, const E * arr, size_t dim ); 195 196 forall( otype K, otype E | { int ?<?( K, K ); K getKey( E & ); } ) 197 unsigned int bsearch( K key, const E * arr, size_t dim ); 198 199 forall( otype E | { int ?<?( E, E ); } ) 200 void qsort( E * arr, size_t dim ); 196 201 197 202 //---------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.