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

Function CartesianProduct

library/cpp/iterator/cartesian_product.h:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110//! Equivalent: for (auto& ai : a) { for (auto& bi : b) {...} }
111template <typename... TContainers>
112auto CartesianProduct(TContainers&&... containers) {
113 return NPrivate::TCartesianMultiplier<TContainers...>::CartesianMultiply(
114 std::forward<TContainers>(containers)..., std::make_index_sequence<sizeof...(TContainers)>{});
115}

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected