Boost logo

Boost :

Subject: Re: [boost] [Root Pointer] Ultimate test - Neural Network
From: Peter Dimov (lists_at_[hidden])
Date: 2016-03-18 21:49:37

Phil Bouchard wrote:
> Hi,
> I wrote a small utility that reads PDFs over the Internet and converts the
> text into a tree of regular expressions. The goal here is to test
> root_ptr<> and see if it will stand up to this complexity.
> The code is very simple for the moment as you can see:

I'm probably missing something... but isn't this kind of use enabled much
more easily by using list<node> for the root and ordinary node* for the
internal pointers? Once the list is destroyed everything is swept away, no
need for smart pointers of any kind?

Boost list run by bdawes at, gregod at, cpdaniel at, john at