Clarify warning in BitArray.length

This commit is contained in:
Vladimir Panteleev 2019-09-25 08:01:50 +00:00
parent b808e722b1
commit 7b0ea1db48
No known key found for this signature in database
GPG key ID: 5004F0FAD051576D

View file

@ -1122,8 +1122,9 @@ public:
/**********************************************
* Sets the amount of bits in the `BitArray`.
* $(RED Warning: increasing length may overwrite bits in
* final word up to the next word boundary. i.e. D dynamic
* array extension semantics are not followed.)
* the final word of the current underlying data regardless
* of whether it is shared between BitArray objects. i.e. D
* dynamic array extension semantics are not followed.)
*/
@property size_t length(size_t newlen) pure nothrow @system
{