[LyX/master] Transform simple search dialog to dock widget (#2625)

José Abílio Matos jamatos at lyx.org
Mon Feb 15 11:32:38 UTC 2021


On Sunday, February 14, 2021 6:33:03 PM WET Jean-Marc Lasgouttes wrote:
> Am I right that it
> is the same to write:
> BufferView const * bv_ {};
> BufferView const * bv_ = {};
> BufferView const * bv_ = {nullptr};
> BufferView const * bv_ = nullptr;
> 
> Why do we need to have all these possibilities? In particular the first
> one is weird to me.

IIRC the first option without the equal sign replaces the notation where 
parenthesis are used:

BufferView const * bv_ {nullptr};

instead of

BufferView const * bv_ (nullptr);

Then it becomes evident that are not using a function call here.
-- 
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210215/676b9e21/attachment.html>


More information about the lyx-devel mailing list