C++ (Qt)void MyBigClass::ModifyData(..., const CModTarget & target );
C++ (Qt)dst->ModifyData(..., MyBigClass::component_A, MyBigClass::process_IntRange, range);
C++ (Qt)void MyBigClass::ModifyData(..., MyBigClass::component_A, const TIntRange & range );void MyBigClass::ModifyData(..., MyBigClass::component_A, const TDoubleRange & range );void MyBigClass::ModifyData(..., MyBigClass::component_A, MyBigClass::process_Selected );...
C++ (Qt)dst->ModifyData(..., TIntRange(0, 10));
[quote author=Igors link=topic=32530.msg240268#msg240268 date=1571211412] Хотелось бы как-то проскочить с implicit конструктором, напр[code=cpp]dst->ModifyData(..., TIntRange(0, 10));
C++ (Qt)dst->ModifyData(..., {0, 10});
C++ (Qt)static constexpr struct IntTag{} intTag;dst->ModifyData(..., {intTag, 0, 10});dst->ModifyData(..., {doubleTag, 0, 10.0})
C++ (Qt)dst->ModifyData(..., {component_B, TDoubleRange{0, 10.0}}dst->ModifyData(..., {component_A, TIntRange{0, 10.0}})
C++ (Qt)dst->ModifyData(..., MyBigClass::component_A, {MyBigClass::intTag, 0, 10});