Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Aliases SharedRefCount.make

1
2
3
module juptune.core.ds.pointer;

alias make = ;

Documentation

Instantiates this SharedRefCount, using the provided init function to setup the underlying value.

Notes

The value isn't passed as sharedinto initFuncas - at this point in time - there is only a single reference to it.

The makeGCoverride does not allocate the payload using the GC**, it's there for when the initFunccan't be marked as @nogc.

Params

Throws

Anything that initFuncthrows.

Returns

Whatever initFuncreturns.