Deprecation in traits

Frak frak at gmail.com
Wed Sep 30 13:00:49 UTC 2020


On Wednesday, 30 September 2020 at 09:42:40 UTC, Stefan Koch 
wrote:
> On Wednesday, 30 September 2020 at 08:33:58 UTC, Frak wrote:
>> On Tuesday, 29 September 2020 at 18:25:03 UTC, Steven 
>> Schveighoffer wrote:
>>> On 9/29/20 1:08 PM, Frak wrote:
>>>> [...]
>>>
>>> Because it's probably coming from a constraint, you probably 
>>> can't figure out the exact usage. What's more annoying is 
>>> that likely it is a spurious warning. A lot of traits "try 
>>> something", and then alias to false or true depending on what 
>>> works. But it's not going to make a difference in your code.
>>>
>>> It's one of the most annoying things in the library. If you 
>>> see this warning coming from *your* code, then you should fix 
>>> it. But it will tell you the location if that was the case, 
>>> not std.traits.
>>>
>>> -Steve
>>
>> That's REALLY REALLY annoying! I'm spending LOT of time trying 
>> to figure out the exact point to fix in the code.
>>
>> Any idea? dustmite?
>
> You can give me access to the code and I can find it out for 
> you.
> That's the best I have.

Thank you, but unfortunately that's not possible



More information about the Digitalmars-d-learn mailing list