@@ -112,11 +112,12 @@ std::unique_ptr<T> make_unique(Args&&... args) {
112
112
/* *
113
113
* @copydoc bsoncxx::v_noabi::stdx::make_unique
114
114
*/
115
- template <typename T,
116
- typename Impl = detail::make_unique_impl<T>,
117
- typename std::enable_if<std::is_array<T>::value,
118
- decltype (Impl::make(std::true_type{}, std::declval<std::size_t >()),
119
- void ())>::type* = nullptr >
115
+ template <
116
+ typename T,
117
+ typename Impl = detail::make_unique_impl<T>,
118
+ typename std::enable_if<std::is_array<T>::value,
119
+ decltype (Impl::make(std::true_type{}, std::declval<std::size_t >()),
120
+ void ())>::type* = nullptr >
120
121
std::unique_ptr<T> make_unique (std::size_t count) {
121
122
return Impl::make (std::true_type{}, count);
122
123
}
@@ -149,11 +150,12 @@ std::unique_ptr<T> make_unique_for_overwrite(Args&&... args) {
149
150
/* *
150
151
* @copydoc bsoncxx::v_noabi::stdx::make_unique_for_overwrite
151
152
*/
152
- template <typename T,
153
- typename Impl = detail::make_unique_impl<T>,
154
- typename std::enable_if<std::is_array<T>::value,
155
- decltype (Impl::make(std::false_type{}, std::declval<std::size_t >()),
156
- void ())>::type* = nullptr >
153
+ template <
154
+ typename T,
155
+ typename Impl = detail::make_unique_impl<T>,
156
+ typename std::enable_if<std::is_array<T>::value,
157
+ decltype (Impl::make(std::false_type{}, std::declval<std::size_t >()),
158
+ void ())>::type* = nullptr >
157
159
std::unique_ptr<T> make_unique_for_overwrite (std::size_t count) {
158
160
return Impl::make (std::false_type{}, count);
159
161
}
0 commit comments