diff options
| author | tylov <[email protected]> | 2023-08-10 22:32:02 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-08-10 22:32:02 +0200 |
| commit | 2ea55509f1d3c7b438340ad37cf725e8438c7673 (patch) | |
| tree | 539975c90da5fe20395adb4fe7627b787040daa5 /README.md | |
| parent | 97898812b4c0185db74fc5c94c7556ecef3fb1e3 (diff) | |
| parent | be5651c9fc3d3ecd2d9d24e6e4763260ef86de41 (diff) | |
| download | STC-modified-2ea55509f1d3c7b438340ad37cf725e8438c7673.tar.gz STC-modified-2ea55509f1d3c7b438340ad37cf725e8438c7673.zip | |
Merge branch 'master' of https://github.com/stclib/STC
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -251,7 +251,7 @@ struct Point { float x, y; }; #include <stc/cvec.h> // cvec_pnt: vector of struct Point #define i_key int -#define i_cmp_native // enable sort/search. Use native `<` and `==` operators +#define i_use_cmp // enable sort/search. Use native `<` and `==` operators #include <stc/clist.h> // clist_int: singly linked list #define i_key int @@ -658,7 +658,7 @@ STC is generally very memory efficient. Memory usage for the different container - Removed deprecated <stc/crandom.h>. Use `<stc/crand.h>` with the new API. - Reverted names _unif and _norm back to `_uniform` and `_normal`. - Removed default comparison for **clist**, **cvec** and **cdeq**: - - Define `i_cmp_native` to enable comparison for built-in i_key types (<, ==). + - Define `i_use_cmp` to enable comparison for built-in i_key types (<, ==). - Use of `i_keyclass` still expects comparison functions to be defined. - Use of `i_keyboxed` compares stored pointers instead of pointed to values if comparison not defined. - Renamed input enum flags for ***cregex***-functions. |
