From 2c7ee423de8f1af0126fbb7d96da65d1d28e1163 Mon Sep 17 00:00:00 2001 From: Hamed Masafi Date: Sun, 10 Mar 2019 19:04:16 +0330 Subject: [PATCH] remove some comments --- src/bulkinserter.h | 57 ---------------------------------------------- 1 file changed, 57 deletions(-) diff --git a/src/bulkinserter.h b/src/bulkinserter.h index 9f450b4..734689a 100644 --- a/src/bulkinserter.h +++ b/src/bulkinserter.h @@ -31,63 +31,6 @@ public: int apply(); }; -//#define HEAD(x, ...) x -//#define TAIL(x, ...) __VA_ARGS__ -//#define ENCLOSE(...) ( __VA_ARGS__ ) -//#define REM_ENCLOSE_(...) __VA_ARGS__ -//#define REM_ENCLOSE(...) REM_ENCLOSE_ __VA_ARGS__ - -//#define IF_ENCLOSED_1(true, ...) true -//#define IF_ENCLOSED_0(true, ...) __VA_ARGS__ -//#define IF_ENCLOSED(...) CAT(IF_ENCLOSED_, IF_ENCLOSED(__VA_ARGS__)) -//// This function will optionally remove brackets around its arguments -//// if there are any. Otherwise it will return normally -//#define OPT_REM_ENCLOSE(...) \ -// IF_ENCLOSED (__VA_ARGS__) ( REM_ENCLOSE(__VA_ARGS__), __VA_ARGS__ ) - -//#define TEST_LAST EXISTS(1) -//#define IS_LIST_EMPTY(...) \ -// TRY_EXTRACT_EXISTS( \ -// DEFER(HEAD) (__VA_ARGS__ EXISTS(1))\ -// , 0) -//#define IS_LIST_NOT_EMPTY(...) NOT(IS_LIST_EMPTY(__VA_ARGS__)) - -//#define FOR_EACH(fVisitor, ...) \ -// fVisitor( OPT_REM_ENCLOSE(HEAD(__VA_ARGS__)) ) \ -// FOR_EACH(fVisitor, TAIL(__VA_ARGS__)) - -//#define NUT_FOREACH(F, ...) \ -// F(HEAD(__VA_ARGS__)); \ -// NUT_FOREACH(F, TAIL(__VA_ARGS__)) -//template -//class Bulk -//{ -//public: -// void f(int){} -// Bulk() -// { -// int a, b, c, d; -// NUT_FOREACH(f, a, c, d) - -// } -//}; - -//template -//class Bulk -//{ -//public: -// Bulk(FieldPhrase) -// {} -//}; - -//template -//class Bulk -//{ -//public: -// Bulk(FieldPhrase, FieldPhrase) -// {} -//}; - NUT_END_NAMESPACE #endif // BULKINSERTER_H