Boost logo

Boost :

Subject: Re: [boost] [ Interest? ] [ out_ptr ] Tiny C++ Abstraction for C-Style Output Pointers
From: JeanHeyd Meneide (phdofthehouse_at_[hidden])
Date: 2019-05-12 03:21:24


On Sat, May 11, 2019 at 10:14 PM Vinnie Falco <vinnie.falco_at_[hidden]>
wrote:

> On Sat, May 11, 2019 at 5:50 PM JeanHeyd Meneide via Boost
> <boost_at_[hidden]> wrote:
> > Currently, there is a (new) public implementation using only Boost
> > and consumable from C++11 compilers: https://github.com/ThePhD/out_ptr .
>
> I cloned the repository, configured the CMake, and generated a Visual
> Studio 2017 solution and project files. Everything built correctly
> although I could not figure out how to run the tests, because the
> generated solution and projects, while correct - are not friendly for
> someone who spends most of their development time isolated in the IDE
> (like me).
>
> Looks like nice work so far, but a disclaimer applies: I personally
> have no use-case for out_ptr so I don't have a strong opinion on it.
>
> Regards
>

I forgot to add some documentation for running the tests: you pass the
CMake Flags BOOST_OUT_PTR_TESTS=ON and BOOST_OUT_PTR_EXAMPLES=ON, then run
CMake and everything generates.

I didn't document it because I didn't think it'd be useful, because at the
end of the day in order to use Boost.CI and friends I need to learn Jam and
b2 and all that stuff.

Best,
JeanHeyd


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