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

Function MakeMaybe

util/generic/maybe.h:623–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621
622template <class T, class TPolicy = ::NMaybe::TPolicyUndefinedExcept>
623constexpr TMaybe<std::decay_t<T>, TPolicy> MakeMaybe(T&& value) {
624 return TMaybe<std::decay_t<T>, TPolicy>(std::forward<T>(value));
625}
626
627template <class T, class... TArgs>
628constexpr TMaybe<T> MakeMaybe(TArgs&&... args) {

Callers 10

SetTrainDataFromMasterFunction · 0.85
TestGetSubsetFunction · 0.85
FindMethod · 0.85
TrainFunction · 0.85
TrainModelFunction · 0.85
InitMethod · 0.85
QuantizePoolsFunction · 0.85
SelectFeaturesFunction · 0.85
BuildCtrTargetMethod · 0.85
Y_UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGetSubsetFunction · 0.68