Patrick Pelissier
3a9eeaa934
Fix bug of dual initialization when using M_LET macro.
2017-03-11 17:30:20 +01:00
Patrick Pelissier
67e625090b
Add new test
2017-03-11 17:28:09 +01:00
Patrick Pelissier
686cb7de8a
Update example
2017-03-11 16:50:36 +01:00
Patrick Pelissier
52724eaa10
Add classic type to M_CLASSIC_OPLIST
2017-03-11 16:50:24 +01:00
Patrick Pelissier
3cb2fa118f
Add missing library for test
2017-03-11 12:30:47 +01:00
Patrick Pelissier
5a105f49bd
Add new example which show a complete integration of multiple containers.
2017-03-11 12:29:49 +01:00
Patrick Pelissier
32996f2224
Add 'mover' operation.
2017-03-11 12:29:25 +01:00
Patrick Pelissier
72ba5cbd3d
Fix bug:
...
give the proper oplist to the array definition;
otherwise some oplists are defined in default.
2017-03-11 12:07:01 +01:00
Patrick Pelissier
3e316da6cf
Fix bug in variant oplist
2017-03-11 11:57:41 +01:00
Patrick Pelissier
fb1b2705d0
Fix bug in exported oplist
2017-03-11 11:52:54 +01:00
Patrick Pelissier
5f67da4914
Add M_CLASSIC_OPLIST macro
2017-03-11 11:44:34 +01:00
Patrick Pelissier
a0f188d213
Remove copyright notices from examples.
2017-03-11 11:34:18 +01:00
Patrick Pelissier
db2457792d
Add note
2017-03-11 11:31:59 +01:00
Patrick Pelissier
3c26dbbcb9
Fix spelling
2017-03-11 11:31:37 +01:00
Patrick Pelissier
5342302b49
Add new library with perform generic collection for C.
2017-03-10 01:57:13 +01:00
Patrick Pelissier
ca7a821da9
Improve performance of comparison of RB-TREE.
2017-03-10 01:38:35 +01:00
Patrick Pelissier
046e79c267
Fix comment
2017-03-10 01:31:20 +01:00
Patrick Pelissier
e21b45d9ac
Fix #3 (Empty containers & IN_STR operator).
2017-03-10 01:29:49 +01:00
Patrick Pelissier
6464acff57
Handle a little bit better the empty container case.
2017-03-10 00:08:28 +01:00
Patrick Pelissier
0483ae7028
Add test for empty array (currently it fails).
2017-03-09 22:35:58 +01:00
Patrick Pelissier
320977e1fa
Fix bug in case of empty array and the type doesn't flush the stream.
2017-03-09 22:35:29 +01:00
Patrick Pelissier
b3239e8391
Simplify code
2017-03-09 22:32:22 +01:00
Patrick Pelissier
e164b3fb44
Add test for OUT_STR / IN_STR & GET_STR for BRTREE
...
Fix bugs
2017-03-09 22:24:34 +01:00
Patrick Pelissier
018e09a4b3
Add IN_STR / OUT_STR & GET_STR for RBTREE
2017-03-09 21:58:16 +01:00
Patrick Pelissier
9db1775db0
Work on coverage
2017-03-09 21:58:08 +01:00
Patrick Pelissier
988b7e03ff
Add bitset_hash operator
2017-03-08 21:31:28 +01:00
Patrick Pelissier
5a9adae6b9
Minor change
2017-03-08 21:31:19 +01:00
Patrick Pelissier
2e814d03ed
Rename string_search_string into string_search
...
Rename string_strcoll_string into string_strcoll
(more coherent API)
Add for C11 a generic encapsulation allowing to
select either the string or the str function.
2017-03-08 21:22:52 +01:00
Patrick Pelissier
6ba2a60fe9
Add HASH & EQUAL methods in the oplist
2017-03-08 21:10:27 +01:00
Patrick Pelissier
61c5539151
Add EQUAL & HASH operators for RBTREE
2017-03-08 21:04:57 +01:00
Patrick Pelissier
1c3bb290dd
Use of encapsulation macros for setting / reading color whenever possible.
2017-03-07 23:10:06 +01:00
Patrick Pelissier
14311272ca
Minor cosmetics change
2017-03-07 22:57:44 +01:00
Patrick Pelissier
6c91c93a6f
Add note
2017-03-07 22:44:34 +01:00
Patrick Pelissier
ac8c712dbb
Modify M_EACH to support container where only IT_CREF is defined
...
(and not IT_REF).
2017-03-07 22:42:47 +01:00
Patrick Pelissier
049ff58566
Add note
2017-03-07 22:42:27 +01:00
Patrick Pelissier
29e01a9e2d
Add oplist for oplist of shared pointer
...
Fix issue in case of memory full of shared_pointer with no throw mechanism.
2017-03-06 22:45:15 +01:00
Patrick Pelissier
ee578a5c44
Add sub oplist for dictionnary oplist
2017-03-06 22:38:10 +01:00
Patrick Pelissier
ea9d624050
Add oplist for i-shared oplist
2017-03-06 22:34:11 +01:00
Patrick Pelissier
a185d08734
Add comments
2017-03-06 22:25:35 +01:00
Patrick Pelissier
0c584420d7
Add sub OPLIST for OPLIST
...
Add missing contracts
2017-03-06 22:25:08 +01:00
Patrick Pelissier
d01838f4f2
Fix error in doc
2017-03-06 22:22:51 +01:00
Patrick Pelissier
dfb62fcadb
Move external sections at the top.
2017-03-06 22:15:21 +01:00
Patrick Pelissier
58422b8445
Remove unused types.
2017-03-06 22:12:49 +01:00
Patrick Pelissier
80de5d06c8
Additional clean up
2017-03-06 22:06:22 +01:00
Patrick Pelissier
e83a43172a
Fixes #1
2017-03-06 22:04:37 +01:00
Patrick Pelissier
fba63cae2b
Fix issue with C++ build for M_ASSIGN_CAST.
2017-03-06 22:04:22 +01:00
Patrick Pelissier
d29f9efca1
Intrusive list are defined as a struct instead of a mirror
...
of the previous interface:
prepare change for C++ compatibility.
2017-03-06 21:51:52 +01:00
Patrick Pelissier
7be58b4a97
Add code to check good generation with intrusive list.
2017-03-06 21:51:32 +01:00
Patrick Pelissier
d6ee3c6329
Add comments
2017-03-05 22:37:00 +01:00
Patrick Pelissier
fd751d7d07
Merge branch 'master' of https://github.com/P-p-H-d/mlib
2017-03-05 18:28:05 +01:00