MCPcopy Create free account
hub / github.com/audacity/audacity / begin

Function begin

libraries/lib-utility/PackedArray.h:150–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148//! Enables range-for
149template<typename Type, template<typename> typename BaseDeleter>
150inline auto begin(const Ptr<Type, BaseDeleter> &p)
151{
152 using traits_type = detail::ExtendedTraits<Type>;
153 auto ptr = p.get();
154 return ptr ? traits_type::begin(ptr) : nullptr;
155}
156
157//! Enables range-for
158template<typename Type, template<typename> typename BaseDeleter>

Callers 6

element_ptrMethod · 0.70
element_offsetMethod · 0.70
PtrClass · 0.70
endFunction · 0.70
compareSequencesFunction · 0.50
CompositeTest.cppFile · 0.50

Calls 1

getMethod · 0.45

Tested by 1

compareSequencesFunction · 0.40