Boost logo

Boost :

Subject: Re: [boost] [contract] Without the macros
From: Peter Dimov (lists_at_[hidden])
Date: 2016-06-15 11:47:48


Lorenzo Caminiti wrote:

> boost::contract::old_ptr<int> old_x = BOOST_CONTRACT_OLDOF(x);

Hi Lorenzo,

Why is the old value a pointer instead of just a local copy?


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