Danil Sidoruk

Results 14 comments of Danil Sidoruk

> Hello, what exactly is a benefit in using constexpr over macros we had before? Does this even compile? I think some of the definitions we had in definitions file...

> Hello, what exactly is a benefit in using constexpr over macros we had before? Does this even compile? I think some of the definitions we had in definitions file...

@sweemer, check does not offer a fix for constructed non-transparent functors: https://github.com/llvm/llvm-project/blob/eaf0aa1f1fbd06fbd66417f2c9d50d3074969824/clang-tools-extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp#L82-L86 However, documentation isn't lying. That check offers a fix, but for other case: https://github.com/llvm/llvm-project/blob/eaf0aa1f1fbd06fbd66417f2c9d50d3074969824/clang-tools-extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp#L121-L123

> Thanks for helping to look into this. Do you know why the fix is only provided for one case and not the other? Since clang-tidy warns about both cases,...

> > It needs to be investigated whether the case char* vs string is the only such case for which a hint cannot be easily provided or not > >...

Если неявное приведение `std::pair` — то и `std::tuple` тоже? К чему ограничение на два элемента? Предполагается, что `GPS_Data gps = *all_data.begin()` семантически эквивалентно `GPS_Data gps = {std::get(begin_element), std::get(begin_element})`, а `GPS_Data...

1. Употребления вординга `has the same value of corresponding bits in its value representation` (или аналогичного) для обозначения сравнения на равенство битов, составляющих `value representation`: [basic.fundmanetal#3](https://eel.is/c++draft/basic.fundamental#3), [bit.cast#2](https://eel.is/c++draft/bit.cast#2) 2. Употребления вординга...

> Употребления вординга `has the same value of corresponding bits in its value representation` (или аналогичного) для обозначения сравнения на равенство битов, составляющих `value representation`: [basic.fundmanetal#3](https://eel.is/c++draft/basic.fundamental#3), [bit.cast#2](https://eel.is/c++draft/bit.cast#2) > > Употребления...

> 1. Употребления вординга `has the same value of corresponding bits in its value representation` (или аналогичного) для обозначения сравнения на равенство битов, составляющих `value representation`: [basic.fundmanetal#3](https://eel.is/c++draft/basic.fundamental#3), [bit.cast#2](https://eel.is/c++draft/bit.cast#2) > 2....

> I want to check if a value starts with some substring, I tried to search it in the `WHERE` section but with no luck. https://ydb.tech/en/docs/yql/reference/syntax/select#where That's listed in Built-in...