Boost logo

Boost :

Subject: Re: [boost] [Root Pointer] Ultimate test - Neural Network
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-19 15:22:56


On 03/19/2016 01:53 PM, Phil Bouchard wrote:
>
> return node_ptr<neuron_base>(x_, new node<neuron_base>(* this)); //< *** Copy of *this

It is always possible to create a new helper function:

make_node_from_this(x_, * this);


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