Thread overview
[Issue 15509] IAllocator must be exposed via a reference counted struct
Jan 03, 2016
Dicebot
Jan 03, 2016
Dicebot
Jan 04, 2016
weaselcat
Feb 02, 2018
Seb
January 03, 2016
https://issues.dlang.org/show_bug.cgi?id=15509

Dicebot <public@dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public@dicebot.lv

--- Comment #1 from Dicebot <public@dicebot.lv> ---
Is http://dlang.org/library/std/typecons/ref_counted.html considered up to the quality for this?

--
January 03, 2016
https://issues.dlang.org/show_bug.cgi?id=15509

--- Comment #2 from Andrei Alexandrescu <andrei@erdani.com> ---
(In reply to Dicebot from comment #1)
> Is http://dlang.org/library/std/typecons/ref_counted.html considered up to the quality for this?

I think not, for the time being. Ideally user code would have no possibility to get to the actual IAllocator. -- Andrei

--
January 03, 2016
https://issues.dlang.org/show_bug.cgi?id=15509

--- Comment #3 from Dicebot <public@dicebot.lv> ---
I have expected as much. This makes the issue much more generic (and
challenging) :)

--
January 04, 2016
https://issues.dlang.org/show_bug.cgi?id=15509

weaselcat <r9shackleford@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r9shackleford@gmail.com
         Depends on|                            |14168, 13983, 13972

--- Comment #4 from weaselcat <r9shackleford@gmail.com> ---
(In reply to Andrei Alexandrescu from comment #2)
> (In reply to Dicebot from comment #1)
> > Is http://dlang.org/library/std/typecons/ref_counted.html considered up to the quality for this?
> 
> I think not, for the time being. Ideally user code would have no possibility to get to the actual IAllocator. -- Andrei

Adding a few dependencies, feel free to remove them if this is not the path being taken.

--
February 02, 2018
https://issues.dlang.org/show_bug.cgi?id=15509

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |greensunny12@gmail.com
         Resolution|---                         |FIXED

--- Comment #5 from Seb <greensunny12@gmail.com> ---
This has been fixed by https://github.com/dlang/phobos/pull/5921

See also

https://dlang.org/changelog/pending.html#std-experimental-allocator-rciallocator

--
December 16, 2022
https://issues.dlang.org/show_bug.cgi?id=15509
Issue 15509 depends on issue 13972, which changed state.

Issue 13972 Summary: Make scoped, Unique, and RefCounted @nogc https://issues.dlang.org/show_bug.cgi?id=13972

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--
March 03, 2023
https://issues.dlang.org/show_bug.cgi?id=15509
Issue 15509 depends on issue 13983, which changed state.

Issue 13983 Summary: RefCounted needs to be @safe https://issues.dlang.org/show_bug.cgi?id=13983

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--