if (validAttributesStr)
sl.push_back(SBuf(attribute));
+#if __cplusplus >= 201103L
sl.splice(sl.end(),values.dump());
+#else
+ // temp is needed until c++11 move constructor
+ SBufList tmp = values.dump();
+ sl.splice(sl.end(),tmp);
+#endif
return sl;
}
{
SBufList sl;
sl.push_back(SBuf(hdrName));
+#if __cplusplus >= 201103L
+ sl.splice(sl.end(), regex_rule->dump());
+#else
// temp is needed until c++11 move-constructor
SBufList temp = regex_rule->dump();
sl.splice(sl.end(), temp);
+#endif
return sl;
}
{
SBufList sl;
sl.push_back(SBuf(name));
+#if __cplusplus >= 201103L
+ sl.splice(sl.end(), values->dump());
+#else
// temp is needed until c++11 move constructor
SBufList temp = values->dump();
sl.splice(sl.end(), temp);
+#endif
return sl;
}
++action;
}
+#if __cplusplus >= 201103L
+ sl.splice(text.end(), (*node)->dump());
+#else
// temp is needed until c++11 move constructor
SBufList temp = (*node)->dump();
text.splice(text.end(), temp);
+#endif
text.push_back(SBuf("\n"));
}
return text;