Boost logo

Boost :

Subject: Re: [boost] [Root Pointer] Benchmark
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2016-03-14 12:53:38

I created an example test case for you:

You should only have to modify lines [45, 48].

i.e. Changing "shared_ptr" to "root_ptr" and
changing "allocate_shared" to your mechanism of
constructing your root pointer.

If it throws an exception upon running, then your
root pointer does not support the allocator model.

The example program I wrote there should run
without throwing an exception:

    g++ -std=c++14 -o example example.cpp && ./example


View this message in context:
Sent from the Boost - Dev mailing list archive at

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