summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cqueue.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-15 22:08:12 +0200
committerTyge Løvset <[email protected]>2022-04-15 22:08:12 +0200
commitfa261ddd307de9b7bb2965a066fd83b66d8d83a7 (patch)
treef89c186fdaaedb8ab34c223e1a75f4d25db612ab /include/stc/cqueue.h
parent99acd2149f3f8996249b3ef82f7490dd098783d7 (diff)
downloadSTC-modified-fa261ddd307de9b7bb2965a066fd83b66d8d83a7.tar.gz
STC-modified-fa261ddd307de9b7bb2965a066fd83b66d8d83a7.zip
Updated README.md docs on template args! Reverted to put() as alias for insert_or_assign() for maps. Reverted/added push_back()/emplace_back()/pop_back() to cstack.
Diffstat (limited to 'include/stc/cqueue.h')
-rw-r--r--include/stc/cqueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stc/cqueue.h b/include/stc/cqueue.h
index 92cf4c49..18ac6d08 100644
--- a/include/stc/cqueue.h
+++ b/include/stc/cqueue.h
@@ -57,11 +57,13 @@ int main() {
#define _i_prefix cqueue_
#endif
#define _i_queue
+#define _push_back _push
#define _emplace_back _emplace
#define _pop_front _pop
#include "cdeq.h"
+#undef _push_back
#undef _emplace_back
#undef _pop_front
#undef _i_queue