aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/evolution/passthrough/xml.cxx
blob: d60ba8132566099b072a2dd108101e776d85ab7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// file      : examples/cxx/hybrid/evolution/passthrough/xml.cxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain

#include "xml.hxx"

namespace xml
{
  element::
  ~element ()
  {
    for (elements::iterator i = children_.begin ();
         i != children_.end ();
         ++i)
    {
      delete *i;
    }
  }
}