Boost in LyX

Richard Kimberly Heck rikiheck at lyx.org
Sat Nov 21 15:18:12 UTC 2020


On 11/20/20 7:50 PM, Yuriy Skalko wrote:
>> Le 20/11/2020 à 18:33, Pavel Sanda a écrit :
>>> On Fri, Nov 20, 2020 at 04:14:57PM +0100, Jean-Marc Lasgouttes wrote:
>>>> Le 20/11/2020 ?? 15:33, Yuriy Skalko a écrit :
>>>>> I assume that it is a template-heavy thing and it can significantly
>>>>> increase compilation time (also don't know about compatibility of
>>>>> boost
>>>>> ranges with ranges-v3 library that will be standard from C++20).
>>>>> Is it OK
>>>>> to use it? And more general question: what parts of Boost are OK
>>>>> for usage
>>>>> in LyX?
>>>>
>>>> Boost is indeed a template heavy thing. I do not know (yet) about
>>>> ranges-v3,
>>>> but many things graduated from boost to the standard library.
>>>
>>> I would say that it would be good if we could drop boost dependency
>>> altogether
>>> at some day (rather than introducing new dependencies, which are not
>>> really
>>> necessary like here...)
>>
>> Well, now that it is in C++20, it looks much better, doesn't it ? %-]
>> I really think that range-based manipulation is much better than the
>> iterator PITA.
>>
>> JMarc
>
> What about to get rid of std algorithms and use just plain range for
> loops? No lambdas, no boost::range, fast compilation and code speed :)

This one looks good to me, but I'd like also to know what JMarc thinks.

Riki




More information about the lyx-devel mailing list