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

Method sliceSize

Sources/Shared/Containers/ArrayView.h:282–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 constexpr ArrayView<T> sliceSize(T* begin, std::size_t size) const;
281#else
282 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> sliceSize(U begin, std::size_t size) const {
283 return slice(begin, begin + size);
284 }
285#endif
286 /** @overload */
287 constexpr ArrayView<T> sliceSize(std::size_t begin, std::size_t size) const {

Callers 1

sliceSizeFunction · 0.45

Calls 1

sliceFunction · 0.85

Tested by

no test coverage detected