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

Method insert

libraries/lib-strings/wxArrayStringEx.h:58–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57 template< typename T >
58 iterator insert( const_iterator pos, std::initializer_list< T > items )
59 {
60 const auto index = pos - ((const wxArrayString*)this)->begin();
61 this->wxArrayString::Insert( {}, index, items.size() );
62 auto result = this->begin() + index, iter = result;
63 for ( auto pItem = items.begin(), pEnd = items.end();
64 pItem != pEnd;
65 ++pItem, ++iter
66 ) {
67 *iter = *pItem;
68 }
69 return result;
70 }
71};
72
73#endif

Callers 15

sf_get_all_extensionsFunction · 0.45
PasteOverMethod · 0.45
RepeatMethod · 0.45
SilenceMethod · 0.45
AddLabelMethod · 0.45
StartTagMethod · 0.45
BadPathFunction · 0.45
RegisterItemMethod · 0.45
JoinMethod · 0.45

Calls 3

beginMethod · 0.45
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected