MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / RemoveIf

Function RemoveIf

tests/framework/render.cpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37template <typename C, typename F>
38typename C::iterator RemoveIf(C& container, F&& fn) {
39 return container.erase(std::remove_if(container.begin(), container.end(), std::forward<F>(fn)), container.end());
40}
41
42VkRenderFramework::VkRenderFramework()
43 : instance_(nullptr),

Callers 2

InitFrameworkMethod · 0.85
InitStateMethod · 0.85

Calls 3

eraseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected