Searched refs:Become (Results 1 – 3 of 3) sorted by relevance
673 TEST(Variant, Become) { in TEST() argument677 v.Become(0); in TEST()680 v.Become(1); in TEST()683 v.Become(2); in TEST()686 v.Become(3); in TEST()689 v.Become(-1); in TEST()692 v.Become(-2); in TEST()699 v.Become(0, 10); in TEST()703 v.Become(1, true); in TEST()707 v.Become(2, 2.0f); in TEST()[all …]
193 bool Become(std::int32_t target_index, Args&&... args) {338 bool Become(std::int32_t target_index, Args&&... args) {343 return rest_.Become(target_index - 1, std::forward<Args>(args)...);456 void Become(std::int32_t target_index, Args&&... args) {459 index_ = value_.Become(target_index, std::forward<Args>(args)...)
1785 variant->Become(type);