We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
!
1 parent 6efd218 commit 5741911Copy full SHA for 5741911
doc/src/manual/faq.md
@@ -391,6 +391,12 @@ julia> twothreearr()
391
3
392
```
393
394
+### Is a function that ends with `!` allowed to allocate?
395
+
396
+Yes! A function name ending with `!` indicates that the function mutates at
397
+least one of its arguments (typically the first argument). However, it may
398
+still allocate a scratch space to expedite computation or produce that result.
399
400
## Types, type declarations, and constructors
401
402
### [What does "type-stable" mean?](@id man-type-stability)
0 commit comments