libs/full/compute/include/hpx/compute/vector.hpp
explicit vector(size_type count, Allocator const& alloc = Allocator())
          : size_(count)
          , capacity_(count)
          , alloc_(alloc)
          , data_(alloc_traits::allocate(alloc_, count))
        {
            alloc_traits::bulk_construct(alloc_, data_, size_);
        }
// Constructs the container with count default-inserted instances of T.
// No copies are made.
Constructs the container with count default-inserted instances of T.
No copies are made.
Constructs the container with count default - inserted instances of T . No copies are made .
explicit vector(size_type count, Allocator const& alloc = Allocator())
          : size_(count)
          , capacity_(count)
          , alloc_(alloc)
          , data_(alloc_traits::allocate(alloc_, count))
        {
            alloc_traits::bulk_construct(alloc_, data_, size_);
        }
explicit vector ( size_type count , Allocator const & alloc = Allocator ( ) ) : size_ ( count ) , capacity_ ( count ) , alloc_ ( alloc ) , data_ ( alloc_traits :: allocate ( alloc_ , count ) ) { alloc_traits :: bulk_construct ( alloc_ , data_ , size_ ) ; }
Constructs the container with count default-inserted instances of T.
No copies are made.
Constructs the container with count default - inserted instances of T . No copies are made .