Skip to content

Commit 0fae810

Browse files
authored
Merge pull request #3417 from mohammad-ghasemi-2549/patch-3
Update basic-string-class.md
2 parents 7720a97 + ec7d4fe commit 0fae810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/basic-string-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ basic_string(
644644
### Parameters
645645
646646
*`ptr`*\
647-
The C-string whose characters are to be used to initialize the `string` being constructed. This value can't be a null pointer.
647+
The C-string whose characters are to be used to initialize the `string` being constructed. This value can't be a null pointer unless *`count`* is zero.
648648
649649
*`alloc_type`*\
650650
The storage allocator class for the string object being constructed.

0 commit comments

Comments
 (0)