[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Create a module variable access system for C++ (issue 249920043 by a
From: |
nine . fierce . ballads |
Subject: |
Re: Create a module variable access system for C++ (issue 249920043 by address@hidden) |
Date: |
Tue, 30 Jun 2015 00:49:33 +0000 |
On 2015/06/30 00:30:15, dak wrote:
I don't understand what you are trying to say here. Apparently you
are arguing
for the "explicit" keyword. We don't use any C++11 feature elsewhere
in
LilyPond.
Explicit constructors were a feature before C++11. It's explicit
conversion methods that are new.
At any rate, C++ conversion rules do not permit using two implicit
conversions
in a row. You need a cast or an intermediate assignment to get both.
Yes, I think you're right. If I can remember the specifics of why the
lack of explicit worried me, I'll let you know.
https://codereview.appspot.com/249920043/