Boost logo

Boost :

Subject: Re: [boost] Boost linked example
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-07-03 06:07:29


AMDG

On 07/02/2018 11:54 PM, degski via Boost wrote:
> Could someone, please, point me to an example (in the Boost source, i.e. a
> file in the libs sub-folder) that would require (with certainty) a built
> library. Which library don't matter. I've tried some date-time examples and
> boost::random::random_device, but it works, while I hoped it wouldn't. The
> latter can also mean I have some strays, but then I know that. I would like
> to check vcpkg static-static linking for Boost.
>

  What exactly did you try? random_device is implemented in
the library, so it shouldn't link if the library is missing.
(Perhaps auto-link is picking up a library that you weren't
expecting?)

In Christ,
Steven Watanabe


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