shared - i need it to be useful
Walter Bright
newshound2 at digitalmars.com
Mon Oct 22 00:46:04 UTC 2018
On 10/21/2018 4:12 PM, Nicholas Wilson wrote:
> On Sunday, 21 October 2018 at 21:32:14 UTC, Walter Bright wrote:
>> On 10/21/2018 2:08 PM, Walter Bright wrote:
>>> On 10/21/2018 12:20 PM, Nicholas Wilson wrote:
>>>> Yes, but the problem you describe is arises from implicit conversion in the
>>>> other direction, which is not part of the proposal.
>>>
>>> It's Manu's example.
>>
>> Then I don't know what the proposal is. Pieces of it appear to be scattered
>> over numerous posts, mixed in with other text, opinions, and handwavy stuff.
>> There's nothing to point to that is "the proposal".
>
> The proposal is:
>
> Implicit conversion _to_ shared, e.g. passing it to a thread entry point, and
> not implicit conversion _from_ shared (just like implicit const conversions).
That's what I was referring to, and Manu's example. It doesn't work, as I
pointed out.
>> I suggest you and Manu write up a proper proposal. Something that is complete,
>> has nothing else in it, has a rationale, illuminating examples, and explains
>> why alternatives are inferior.
>
> We will eventually. This started as a "please point out any problems with this"
> and has probably outlived that phase.
You'll need to address the issues raised here in the DIP.
More information about the Digitalmars-d
mailing list