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

Function prefix

Sources/Shared/Containers/ArrayView.h:920–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

918 constexpr ArrayView<T> prefix(T* end) const;
919#else
920 template<class U, typename std::enable_if<std::is_convertible<U, T*>::value && !std::is_convertible<U, std::size_t>::value, int>::type = 0> constexpr ArrayView<T> prefix(U end) const {
921 return ArrayView<T>(*this).prefix(end);
922 }
923#endif
924
925 /** @copydoc ArrayView::suffix(T*) const */

Callers 2

trimmedSuffixMethod · 0.85
partitionMethod · 0.85

Calls 1

prefixMethod · 0.45

Tested by

no test coverage detected