BetterC classes

Daniel N via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 16 08:24:18 PST 2016


On Friday, 16 December 2016 at 15:17:15 UTC, Ilya Yaroshenko 
wrote:
> Hi
>
> Is it possible to use classes, which do not have monitor and 
> other DRuntime stuff?
>
> Object can be allocated/deallocated using allocators, but they 
> are very complex for betterC mode (monitor, mutex, object.d 
> dependency).
>
> Can we have something more primitive?
>
> Ilya

extern(c++)
class

Works pretty good in my experience, at least it gets rid of the 
monitor, yay!



More information about the Digitalmars-d-learn mailing list