remove some comments

This commit is contained in:
Hamed Masafi 2019-03-10 19:04:16 +03:30
parent 40611b4ef4
commit 2c7ee423de
1 changed files with 0 additions and 57 deletions

View File

@ -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 <typename... ETC>
//class Bulk
//{
//public:
// void f(int){}
// Bulk()
// {
// int a, b, c, d;
// NUT_FOREACH(f, a, c, d)
// }
//};
//template <typename T1, typename... ETC>
//class Bulk<T1, ETC...>
//{
//public:
// Bulk(FieldPhrase<T1>)
// {}
//};
//template <typename T1, typename T2, typename... ETC>
//class Bulk<T1, T2, ETC...>
//{
//public:
// Bulk(FieldPhrase<T1>, FieldPhrase<T2>)
// {}
//};
NUT_END_NAMESPACE
#endif // BULKINSERTER_H