Packets: Fix VariantParser invalid parser access bug
[senf.git] / Utils / Phoenix.hh
index c0e81e5..773bc5a 100644 (file)
@@ -23,8 +23,8 @@
 /** \file
     \brief Phoenix public header */
 
-#ifndef HH_Phoenix_
-#define HH_Phoenix_ 1
+#ifndef HH_SENF_Utils_Phoenix_
+#define HH_SENF_Utils_Phoenix_ 1
 
 // Custom includes
 #include <boost/spirit/phoenix/functions.hpp>
 #include "Phoenix.ih"
 ///////////////////////////////hh.p////////////////////////////////////////
 
+/** \defgroup phoenix_helpers Boost.Phoenix extensions */
+
 namespace senf {
 namespace phoenix {
+    
+    /** \brief \c push_back phoenix functor
+
+        <tt>push_back(c, x) := c.push_back(x)</tt>
 
+        \ingroup phoenix_helpers
+     */
     ::phoenix::function<detail::push_back> const push_back;
+
+    /** \brief \c clear phoenix functor
+
+        <tt>clear(c) := c.clear()</tt>
+
+        \ingroup phoenix_helpers
+     */
     ::phoenix::function<detail::clear>     const clear;
 
 }}