diff options
| author | Tyge Løvset <[email protected]> | 2021-05-24 12:43:39 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-05-24 12:43:39 +0200 |
| commit | 64f50b93b08a8015783b2887e1ab5afd5fedb40c (patch) | |
| tree | ca70f0b4c87b0d59a9689b12d26bfa2bab160916 /include/stc/cbits.h | |
| parent | 771a8dff31b0c0a905c57ec6f590cd03975f8817 (diff) | |
| download | STC-modified-64f50b93b08a8015783b2887e1ab5afd5fedb40c.tar.gz STC-modified-64f50b93b08a8015783b2887e1ab5afd5fedb40c.zip | |
Renamed c_with => c_fordefer, and removed c_withvar. Macros were too deceiving and hid the fact that it was for-loops. Now it is more explicit.
Diffstat (limited to 'include/stc/cbits.h')
| -rw-r--r-- | include/stc/cbits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cbits.h b/include/stc/cbits.h index fc2d525b..803fe2d5 100644 --- a/include/stc/cbits.h +++ b/include/stc/cbits.h @@ -30,7 +30,7 @@ Similar to boost::dynamic_bitset / std::bitset #include "cbits.h"
int main() {
- c_with (cbits bset = cbits_with_size(23, true), cbits_del(&bset))
+ c_fordefer (cbits bset = cbits_with_size(23, true), cbits_del(&bset))
{
cbits_reset(&bset, 9);
cbits_resize(&bset, 43, false);
|
