Am Freitag 16 Mai 2008 21:32:56 schrieb Maik Beckmann:
Hello,
Does boost got something to do this
struct node {
std::vector<node> children; // node is incomplete
};
in a way which conform with the standard which disallows STL containers of
incomplete types?
thx,
-- Maik
This issue strikes boost.property_tree
...
template
class basic_ptree
{
...
typedef basic_ptree self_type;
...
typedef std::pair value_type;
// ..self_type is incomplete!
...
typedef std::list container_type;
...
container_type m_container;
-- Maik
PS: I had to apply this
<link>
http://article.gmane.org/gmane.comp.lib.boost.devel/164866/match=property%5f...
</link>
to get
libs/property_tree/test/sandbox.cpp
compiled.