## Class comment

zeep::xml::comment — A node containing a XML comment.

## Synopsis

    // In header: <zeep/xml/node.hpp>

    class comment : public  {
    public:
      // construct/copy/destruct
      ();
      (comment &&) ;
      ();

      // public member functions
       (node *) ;
      node * () ;
      node * ();

      // protected member functions
       (, format_info) ;
    };

## Description

### `comment` public construct/copy/destruct

1.     ();

2.     (comment && c) ;

3.     ( text);

### `comment` public member functions

1.      (node * n) ;

   compare nodes for equality

2.     node * () ;

   return an exact copy of this node, including all data in sub nodes

3.     node * ();

   return a copy of this node, including all data in sub nodes, but in contrast with clone the data is moved from this node to the cloned node. This node will be empty afterwards.

### `comment` protected member functions

1.      ( os, format_info fmt) ;

   low level routine for writing out XML

   This method is usually called by operator<<(std::ostream&, zeep::xml::document&)