diff --git a/doc/smart_ptr/make_shared.adoc b/doc/smart_ptr/make_shared.adoc index dc2d688..af59deb 100644 --- a/doc/smart_ptr/make_shared.adoc +++ b/doc/smart_ptr/make_shared.adoc @@ -55,43 +55,43 @@ types. [subs=+quotes] ``` namespace boost { - // only if T is not an array type + `// only if T is not an array type` template shared_ptr make_shared(Args&&... args); template shared_ptr allocate_shared(const A& a, Args&&... args); - // only if T is an array type of the form U[] + `// only if T is an array type of the form U[]` template shared_ptr make_shared(std::size_t n); template shared_ptr allocate_shared(const A& a, std::size_t n); - // only if T is an array type of the form U[N] + `// only if T is an array type of the form U[N]` template shared_ptr make_shared(); template shared_ptr allocate_shared(const A& a); - // only if T is an array type of the form U[] + `// only if T is an array type of the form U[]` template shared_ptr make_shared(std::size_t n, _see below_ v); template shared_ptr allocate_shared(const A& a, std::size_t n, _see below_ v); - // only if T is an array type of the form U[N] + `// only if T is an array type of the form U[N]` template shared_ptr make_shared(_see below_ v); template shared_ptr allocate_shared(const A& a, _see below_ v); - // only if T is not an array type of the form U[] + `// only if T is not an array type of the form U[]` template shared_ptr make_shared_noinit(); template shared_ptr allocate_shared_noinit(const A& a); - // only if T is an array type of the form U[N] + `// only if T is an array type of the form U[N]` template shared_ptr make_shared_noinit(std::size_t n); template diff --git a/doc/smart_ptr/make_unique.adoc b/doc/smart_ptr/make_unique.adoc index 048f9c6..30b7137 100644 --- a/doc/smart_ptr/make_unique.adoc +++ b/doc/smart_ptr/make_unique.adoc @@ -40,23 +40,23 @@ feature with `std::make_unique`. [subs=+quotes] ``` namespace boost { - // only if T is not an array type + `// only if T is not an array type` template std::unique_ptr make_unique(Args&&... args); - // only if T is not an array type + `// only if T is not an array type` template std::unique_ptr make_unique(_see below_ v); - // only if T is an array type of the form U[] + `// only if T is an array type of the form U[]` template std::unique_ptr make_unique(std::size_t n); - // only if T is not an array type + `// only if T is not an array type` template std::unique_ptr make_unique_noinit(); - // only if T is an array type of the form U[] + `// only if T is an array type of the form U[]` template std::unique_ptr make_unique_noinit(std::size_t n); }