[LyX/master] C++11 compilation fix

Jürgen Spitzmüller jspitzm at gmail.com
Wed Dec 7 16:44:34 UTC 2022


Am Mittwoch, dem 07.12.2022 um 17:04 +0100 schrieb Jean-Marc
Lasgouttes:
> This elicited the answer "Huh?" from Jürgen, but sent to the lyx-cvs 
> list, so only Riki and I saw it.
> 
> Could I have a authoritative answer to the question whether a 
> constructor like QPair(a, b) can be replaced with {a, b} when the 
> context is clear enough?
> 
> I notice that we use that already, but I may be wrong about when it
> is acceptable.

I was just surprised that it doesn't compile. In any case, I comment
would be good, as at least I wouldn't understand why we use this, and
not QPair.

-- 
Jürgen


More information about the lyx-devel mailing list