MCPcopy Create free account
hub / github.com/Kitware/CMake / insert_back

Function insert_back

Source/cmSbomObject.h:266–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264
265template <typename T, typename U = cm::decay_t<T>>
266U* insert_back(std::vector<cmSbomObject>& vec, T&& obj) noexcept
267{
268 vec.emplace_back(std::forward<U>(obj));
269 return std::addressof(vec.back().CastUnchecked<U>());
270}

Callers 5

testSerializeSpdxJsonFunction · 0.85
GenerateMainFileMethod · 0.85
GenerateMainFileMethod · 0.85

Calls 2

emplace_backMethod · 0.80
backMethod · 0.45

Tested by 1

testSerializeSpdxJsonFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…