[LyX/master] Use C++11 string literals to make code easier to read.

Richard Kimberly Heck rikiheck at gmail.com
Mon Feb 26 21:23:33 UTC 2024


On 2/26/24 16:04, Jean-Marc Lasgouttes wrote:
> Le 26/02/2024 à 21:18, Richard Kimberly Heck a écrit :
>> On 2/26/24 09:24, Thibaut Cuvelier wrote:
>>> commit 6b1441036f35767c0b60af510222ba792b17b829
>>> Author: Thibaut Cuvelier <tcuvelier at lyx.org>
>>> Date:   Mon Feb 26 15:24:36 2024 +0100
>>>
>>>      Use C++11 string literals to make code easier to read.
>>
>> I didn't know about those. I'd guess there are lots of places we 
>> could make this kind of minor change.
>
> I'd say that the syntax is a bit weird with the parentheses around the 
> string contents.

But you don't have to worry about escaping quotes. That's the advantage. 
It's so easy to screw up the escapes.

I guess I'm somewhat familiar with this from Python and the 
triple-quoted strings.

Riki




More information about the lyx-devel mailing list