MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / cast_to

Method cast_to

src/include/buffer.hpp:405–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403 /// \return the buffer
404 template<typename U>
405 buffer<U> cast_to() {
406 size_t newCount = size_ / sizeof(U);
407 return buffer<U>(reinterpret_cast<U*>(data_), newCount);
408 }
409
410 /// \brief as bytes
411 /// \return the bytes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected