VectorView::VectorView Constructor

Initializes a new instance of the VectorView class.

VectorView();
explicit VectorView(
   UInt32 size
);
VectorView(
   UInt32 size,
   T value
);
explicit VectorView(
   const ::std::vector<T>& v
);
explicit VectorView(
   ::std::vector<T>&& v
);
VectorView(
   const T * ptr,
   UInt32 size
);

template <
   size_t N
>
explicit VectorView(
   const T (&arr)[N]
);

template <
   size_t N
>
explicit VectorView(
   const ::std::array<T,
   N>& a
);

explicit VectorView(
   const ::Platform::Array<T>^ arr
);

template <
   typename InIt
>
VectorView(
   InItfirst,
   InItlast
);

VectorView(
   std::initializer_list<T> il
);

InIt

The type of a collection of objects that is used to initialize the current VectorView.

il

A std::initializer_list whose elements will be used to initialize the VectorView.

N

The number of elements in a collection of objects that is used to initialize the current VectorView.

size

The number of elements in the VectorView.

value

A value that is used to initialize each element in the current VectorView.

v

An Lvalues and Rvalues to a ::std::vector that is used to initialize the current VectorView.

ptr

Pointer to a std::vector that is used to initialize the current VectorView.

arr

A Platform::Array object that is used to initialize the current VectorView.

a

A std::array object that is used to initialize the current VectorView.

first

The first element in a sequence of objects that are used to initialize the current VectorView. The type of first is passed by means of perfect forwarding. For more information, see Rvalue Reference Declarator: &&.

last

The last element in a sequence of objects that are used to initialize the current VectorView. The type of last is passed by means of perfect forwarding. For more information, see Rvalue Reference Declarator: &&.

Header: collection.h

Namespace: Platform::Collections

Show:
© 2014 Microsoft