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
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to