"version" private word

Igor Shirkalin mathsoft at inbox.ru
Tue Oct 31 14:47:15 UTC 2017


On Tuesday, 31 October 2017 at 14:31:17 UTC, Jesse Phillips wrote:
> On Tuesday, 31 October 2017 at 14:25:19 UTC, Igor Shirkalin 
> wrote:
>> On Tuesday, 31 October 2017 at 14:22:37 UTC, Jesse Phillips 
>> wrote:
>>> On Tuesday, 31 October 2017 at 13:46:40 UTC, Igor Shirkalin 
>>> wrote:
>>>> Hello!
>>>>
>>>
>>> You goal should be to describe features.
>>>
>>> Version x86
>>> ... Version = I can stand on my head
>>> ...
>>
>> pardon?
>
> Sorry I hate writing code on mobile.
>
> You can create an arbitrary version by assigning a symbol to 
> it, use that symbol to describe a feature, assign that symbol 
> for each architecture that supports it. Then write code in a 
> version block of that symbol.

The question was not about mobile platforms. Sometimes we need to 
mix some combinations of code in one big project with or without 
some libraries, algorithms etc.
I see what you mean and practically agree with you. But not 
everything depends on you (us).





More information about the Digitalmars-d-learn mailing list