provided toString() because strlen must die#8550
Conversation
c14050d to
cf67f8e
Compare
|
Thanks for your pull request, @WalterBright! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "master + dmd#8550" |
JinShil
left a comment
There was a problem hiding this comment.
You could replace a toChars or two to get full test coverage.
|
SemaphoreCI was stuck. |
|
Here new public symbols were added without Ddoc 😞. |
|
How will this affect the C++ headers? |
Have you ever tried to convince @WalterBright to do things like this? It's better if we just merge and add the docs ourselves in a separate PR. |
|
We managed to get him to do PRs instead of pushing directly. Also he’s the one nagging everybody else to have proper Ddoc sections. |
It won't. They are not callable from C++, and they don't occupy a slot in the vtbl[].
If it did something different than every other As always, use your best judgement. |
It may be. But by adding this function, the need for strlen becomes encapsulated, and is not leaked to the users of the object. A sign of effective encapsulation is being able to change the underlying data structure without needing to change any users of the object. |
👍. |
No description provided.