summaryrefslogtreecommitdiffhomepage
path: root/examples/birthday.c
AgeCommit message (Expand)Author
2022-12-20Restructured folders: examples, benchmarks, tests into misc folder.Tyge Lovset
2022-10-21Fixed wrong formatting of 64bit values various places.Tyge Løvset
2022-10-19Reverted back to c_forrrange from c_forloop. Still available but deprecated.Tyge Løvset
2022-10-14Replaced PRIuMAX with new c_zu macro in examples. "%zu" is not supported by m...Tyge Løvset
2022-09-26DEPRECATED: c_forrange(): replaced with c_forloop(). This uses 'long long' as...Tyge Løvset
2022-06-01Reverted to default static linkage of non-templated symbols (cstr, csview, .....Tyge Løvset
2022-06-01Converted all files with DOS line endings to LINUX.Tyge Løvset
2022-05-30Done refactoring:Tyge Løvset
2022-04-18crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but ...Tyge Løvset
2022-03-04Updated printf formatting to portable code. This was also to use http://winli...Tyge Løvset
2021-12-23Removed emplace functions if not i_valraw or i_keyraw is defined. Safety/opti...Tyge Løvset
2021-10-05Changed recommended order of defining template parameters.Tyge Løvset
2021-09-20Renamed macros: breaking changes for Version 2.0!Tyge Lovset
2021-09-19Remove warnings.Tyge Løvset
2021-09-19Fixed birthday.c double delete.Tyge Løvset
2021-09-19Merge branch 'master' of github.com:tylov/STC into masterTyge Løvset
2021-09-13Very minor formatting.Tyge Løvset
2021-09-08Updated most examples to newstyle. Some changes in cpque/cstack.Tyge Løvset
2021-08-21Fix memory leaksKamil Cukrowski
2021-05-24Split c_fordefer() into c_forvar() and c_fordefer() macros.Tyge Løvset
2021-05-24Renamed c_with => c_fordefer, and removed c_withvar. Macros were too deceivin...Tyge Løvset
2021-05-18Added the new c_defer(), c_with(), c_withvar() macros into the examples.Tyge Løvset
2021-04-17Changed c_emplace_items(&cont, ctype, {...}) macro with c_emplace(ctype, cont...Tyge Løvset
2021-03-11Renamed public *_result_t struct member names in maps/sets for consistency wi...Tyge Løvset
2021-01-21Reverted namings: crand to crandom, and copt to coption.Tyge Løvset
2020-12-28Reverted crand.h API back to rename crand_* to stc64_*, and crand_next() -> s...Tyge Løvset
2020-12-21Added some benchmarks. Fix typo in cdeq.hTyge Løvset
2020-12-17API change: Reverted back to original name used for .val in iterators to .refTyge Løvset
2020-12-16Renamed crandom to crand, including renaming of relevant files.Tyge Løvset
2020-12-16Reverted back API to easier naming scheme of crandom.h types and methods.Tyge Løvset
2020-12-14Reworked the crandom.h module. Changed API (sorry!), made uniform distr. unbi...Tyge Løvset
2020-11-26Removed stc/cfmt.h, as _Generic requires C11. I have made it a gist: https://...Tyge Løvset
2020-11-02Changed (half)-internal *_INIT to *__init macros. Minor reformatting.Tyge Løvset
2020-10-26Updates examples using cfmt.h c_print().Tyge Løvset
2020-09-24Changed iter.get to iter.val member. Internal, but used external. Will not ch...Tyge Løvset
2020-09-20Added c_foreach (i,N) and c_foreach (N), and updated README.mdTyge Løvset
2020-09-20converted to c_forrange().Tyge Løvset
2020-09-18Changed <container>_ini macro constant to <container>_INIT, and <container>_d...Tyge Løvset
2020-09-17Fixed range methods in cvec, and renamed typename_<container>(..) to using_<c...Tyge Løvset
2020-09-16Changed earlier declare_<container>(..) macro to typedef_<container>(..)Tyge Løvset
2020-09-16Changed API to conform with std:: containers. cmap now only use first, second...Tyge Løvset
2020-09-15Simplified declare_ statement e.g. c_cmap(...)Tyge Løvset
2020-09-15New API Change.Tyge Løvset
2020-09-14Renamed result_t type members to first, second (from item, inserted) for conf...Tyge Løvset
2020-09-13reverted back to separate random engine and distribution parameters.Tyge Løvset
2020-09-10Use cmap_emplace() rather than cmap_insert(). insert() is reduced to an alias...Tyge Løvset
2020-09-07Added back cmap insert()tylo
2020-09-06Renamed push_****(), _insert() to _emplace(). added insert_or_assign(), etc.Tyge Løvset
2020-09-03Changed constant <container>_init to <container>_ini to avoid conflict with <...Tyge Løvset
2020-08-29Updated crandom.h API! update to benchmark.c . Optimized cmap iter.Tyge Løvset