MCPcopy Create free account
hub / github.com/ablab/spades / make_ptr

Function make_ptr

ext/include/cppformat/format.h:232–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230// Use checked iterator to avoid warnings on MSVC.
231template <typename T>
232inline stdext::checked_array_iterator<T*> make_ptr(T *ptr, std::size_t size) {
233 return stdext::checked_array_iterator<T*>(ptr, size);
234}
235#else
236template <typename T>
237inline T *make_ptr(T *ptr, std::size_t) { return ptr; }

Callers 4

appendMethod · 0.85
moveMethod · 0.85
growMethod · 0.85
grow_bufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected