public:
typedef debug_info_entry value_type;
+
+ inline debug_info_entry &add_entry (int tag)
+ {
+ push_back (debug_info_entry (tag));
+ return back ();
+ }
};
class attributes_type
{
return identity ();
}
+
+ // Convenience entry points.
+ inline debug_info_entry &add_entry (int child_tag)
+ {
+ return children ().add_entry (child_tag);
+ }
};
typedef debug_info_entry::attributes_type::value_type attribute;
typedef _base::iterator iterator;
typedef _base::const_iterator const_iterator;
- inline compile_unit &new_unit ()
+ inline compile_unit &add_unit ()
{
- compile_unit nu;
- push_back (nu);
+ push_back (compile_unit ());
return back ();
}
}
// Convenience entry point.
- inline compile_unit &new_unit ()
+ inline compile_unit &add_unit ()
{
- return compile_units ().new_unit ();
+ return compile_units ().add_unit ();
}
public: