You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
@@ -324,6 +331,41 @@ Assign a <code>vector_base</code> whose element type is convertible to <code
324
331
Function <code>thrust::device_vector::device_vector</code>
325
332
</h3>
326
333
334
+
<codeclass="doxybook">
335
+
<span><b>device_vector</b>(std::initializer_list< T > il);</span></code>
336
+
This constructor builds a <code><ahref="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a></code> from an intializer_list.
337
+
338
+
**Function Parameters**:
339
+
**`il`**: The intializer_list.
340
+
341
+
<h3id="function-device-vector">
342
+
Function <code>thrust::device_vector::device_vector</code>
343
+
</h3>
344
+
345
+
<codeclass="doxybook">
346
+
<span><b>device_vector</b>(std::initializer_list< T > il,</span>
This constructor builds a <code><ahref="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a></code> from an intializer_list.
349
+
350
+
**Function Parameters**:
351
+
***`il`** The intializer_list.
352
+
***`alloc`** The allocator to use by this <ahref="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a>.
353
+
354
+
<h3id="function-operator=">
355
+
Function <code>thrust::device_vector::operator=</code>
356
+
</h3>
357
+
358
+
<codeclass="doxybook">
359
+
<span><ahref="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a> & </span><span><b>operator=</b>(std::initializer_list< T > il);</span></code>
360
+
Assign an <code>intializer_list</code> with a matching element type
361
+
362
+
**Function Parameters**:
363
+
**`il`**: The intializer_list.
364
+
365
+
<h3id="function-device-vector">
366
+
Function <code>thrust::device_vector::device_vector</code>
0 commit comments