On sábado, 8 de julho de 2017 15:57:50 PDT Phil Bouchard wrote:
> https://github.com/philippeb8/root_ptr/blob/develop/example/javascript_examp
> le1.cpp
> 
> The application outputs:
> Scope 0: BEGIN
> Scope 1: BEGIN
> A::A(const boost::node_proxy&)
> A::A(const boost::node_proxy&)
> A::~A()
> Scope 1: END
> A::~A()
> Scope 0: END

Why are there two A::A and two A::~A in the output if the source has four 
objects created?

> Which is exactly what we want.  Note that I didn't stress tested it yet.
>   If you don't mind I will start a new thread with the Boost mailing
> list to see their opinion.

You'll also need to disentangle it from Boost before it can be used in Qt. 
Move it to independent headers depending only on the C++98 standard library (
C++11 core language features are ok).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to