Boost logo

Boost :

Subject: Re: [boost] [optional] How to define boost::none?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-11-20 09:59:13


On Thu, Nov 20, 2014 at 5:54 PM, David Stone <david_at_[hidden]> wrote:
> Is it really such a problem to have this object in every translation unit?
> Is it beyond current linker technology to merge these identical copies,
> thus preventing binary bloat?

The linker must not merge them because these objects must have
distinct addresses. This might not be the case for references though.


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