MCPcopy Create free account
hub / github.com/catboost/catboost / ToVector

Function ToVector

library/cpp/iterator/ut/functools_ut.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32 template <typename TContainer>
33 auto ToVector(TContainer&& container) {
34 return std::vector{container.begin(), container.end()};
35 }
36
37 template <typename TContainerObjOrRef>
38 void TestViewCompileability(TContainerObjOrRef&& container) {

Callers 1

TestViewCompileabilityFunction · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 1

TestViewCompileabilityFunction · 0.56