MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / arrayView

Function arrayView

Sources/Shared/Containers/ArrayView.h:593–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591 Convenience alternative to @ref ArrayView::ArrayView(T*, std::size_t).
592 */
593 template<class T> constexpr ArrayView<T> arrayView(T* data, std::size_t size) {
594 return ArrayView<T>{data, size};
595 }
596
597 /** @relatesalso ArrayView
598 @brief Make a view on fixed-size array

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected