mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 21:24:40 +02:00
Correct make_unique_noinit example
This commit is contained in:
@@ -106,7 +106,7 @@ template<class T>
|
|||||||
+
|
+
|
||||||
Constraints:: `T` is not an array.
|
Constraints:: `T` is not an array.
|
||||||
Returns:: `std::unique_ptr<T>(new T)`.
|
Returns:: `std::unique_ptr<T>(new T)`.
|
||||||
Example:: `auto p = make_unique_noinit<double[1024]>();`
|
Example:: `auto p = make_unique_noinit<std::array<double, 1024> >();`
|
||||||
|
|
||||||
```
|
```
|
||||||
template<class T>
|
template<class T>
|
||||||
|
Reference in New Issue
Block a user