summaryrefslogtreecommitdiffhomepage
path: root/include/stc/algo
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-13 08:36:14 +0200
committertylov <[email protected]>2023-07-13 13:03:51 +0200
commit0073f0a2d67239f019041f07d9a322df03fc7ae4 (patch)
tree51e2e31d5159d2be013c54a94d3b3ff5ef624edb /include/stc/algo
parentebe5abc29d51c643520301e42124365477f44957 (diff)
downloadSTC-modified-0073f0a2d67239f019041f07d9a322df03fc7ae4.tar.gz
STC-modified-0073f0a2d67239f019041f07d9a322df03fc7ae4.zip
Moved c_defer() macro from raii.h to ccommon.h. Some changes in cspan.
Diffstat (limited to 'include/stc/algo')
-rw-r--r--include/stc/algo/raii.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/stc/algo/raii.h b/include/stc/algo/raii.h
index b0008a96..584f5c59 100644
--- a/include/stc/algo/raii.h
+++ b/include/stc/algo/raii.h
@@ -23,9 +23,6 @@
#ifndef STC_RAII_INCLUDED
#define STC_RAII_INCLUDED
-#define c_defer(...) \
- for (int _i = 1; _i; _i = 0, __VA_ARGS__)
-
#define c_with(...) c_MACRO_OVERLOAD(c_with, __VA_ARGS__)
#define c_with_2(declvar, drop) \
for (declvar, *_i, **_ip = &_i; _ip; _ip = 0, drop)