Am Mittwoch, dem 07.12.2022 um 18:43 +0100 schrieb Jean-Marc
Lasgouttes:
> It is not easier. The only thing that is easier before C++17 is 
> std::make_pair. See good discussion here:
> https://stackoverflow.com/questions/9270563/what-is-the-purpose-of-stdmake-pair-vs-the-constructor-of-stdpair
> 
> I like the curly braces notation, since it allows to initialize
> vectors too.
> 
> There is also the notation
>         MyClass p{12};
> which is mysterious to me.

OK, I think I was confused here anyway.

-- 
Jürgen
-- 
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to