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

Method prefix

Sources/Shared/Containers/StaticArray.h:782–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780#endif
781
782 template<std::size_t size_, class T> template<std::size_t size__> StaticArrayView<size__, T> StaticArray<size_, T>::prefix() {
783 static_assert(size__ <= size_, "Prefix size too large");
784 return StaticArrayView<size__, T>{this->_data};
785 }
786
787 template<std::size_t size_, class T> template<std::size_t size__> constexpr StaticArrayView<size__, const T> StaticArray<size_, T>::prefix() const {
788 static_assert(size__ <= size_, "Prefix size too large");

Callers 1

prefixMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected