OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ArrayView
(Results
1 - 2
of
2
) sorted by null
/tools/dexter/slicer/export/slicer/
arrayview.h
27
class
ArrayView
{
29
ArrayView
() = default;
31
ArrayView
(const
ArrayView
&) = default;
32
ArrayView
& operator=(const
ArrayView
&) = default;
34
ArrayView
(T* ptr, size_t count) : begin_(ptr), end_(ptr + count) {}
/external/webrtc/webrtc/base/
array_view.h
41
// Enter rtc::
ArrayView
<T>. It contains a T pointer (to an array it doesn't
45
// bool Contains17(rtc::
ArrayView
<const int> arr) {
54
//
ArrayView
, we can call it like this:
58
// Contains17(rtc::
ArrayView
<int>(arr, size)); // pointer + size
61
// One important point is that
ArrayView
<T> and
ArrayView
<const T> are
64
// e.g. vector<int> will convert to either
ArrayView
<int> or
ArrayView
<const
65
// int>, but const vector<int> will convert only to
ArrayView
<const int>.
66
// (
ArrayView
itself can be the source type in such conversions, s
[
all
...]
Completed in 216 milliseconds