Boost logo

Boost :

Subject: Re: [boost] intrusive_ptr wrapper for C++/CLI
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-08-21 08:09:19

On 20 Aug 2014 at 14:10, Stephen Channell wrote:

> I do a lot of development using native C++ and managed C++/CLI, and have
> coded a simple smart pointer wrapper around intrusive_ptr to allow
> C++/CLI code to use reference counting objects without change.
> IntrusivePtr takes advantage of the template support engineered for
> gcroot<T> to implement the smart pointer. It´s a wrapper to support
> factory functions that return intrusive_ptr.
> Whilst many would object to putting C++/CLI conditional code into boost,
> the smart pointer is too small to stand alone and too boost specific for
> Microsoft.

You may not be aware that Microsoft contributed WinRT support for
Boost, and that should be fully merged into Boost 1.57.

I'd suggest you hand over your idea to one of the Microsoft engineers
on this list and let them push it for you as part of their general
support of Boost. Search the archives for patches from Microsoft, you
probably don't want Stephan but you will want Steve (stgates).


ned Productions Limited Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at