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:
https://github.com/philippeb8/root_ptr/issues/1

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

Glen

--
View this message in context: http://boost.2283326.n4.nabble.com/Root-Pointer-Benchmark-tp4684533p4684566.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk