Andrii Stadnik

Results 43 comments of Andrii Stadnik

Yes, sure ```cpp template void test(const ARGS&... args) { dbg("Args: ", args...); } int main(void) { test(1); test('1'); return 0; } ``` ``` ../src/main.cpp:5:21: error: expected ')' dbg("Args: ", args...);...

Seems the problem in that even the following code doesn't compile: ```cpp #include template void test(T&& ...args) { /* std::cout

I've recently found a hack which might allow this. Consider the following example: ```cpp template using NthTypeOf = typename std::tuple_element::type; template void f(ARGS&&... args) { dbg::DebugOutput(__FILE__, __LINE__, __func__) .print({DBG_MAP(DBG_STRINGIFY, args...)},...

Hm, also what's interesting that this seems to work! ```cpp template void proxy(ARGS&&... args) { /* dbg::DebugOutput(__FILE__, __LINE__, __func__) .print({DBG_MAP(DBG_STRINGIFY, args...)}, {(... + (" " + dbg::type_name()))}, args...); */ std::cout

Take a look at https://github.com/xingyizhou/CenterTrack/blob/d3d52145b71cb9797da2bfb78f0f1e88b286c871/src/lib/model/networks/dla.py#L305-L316 Here, in line 313, `self.level{i}` is called. For me, it broke when `i` was equal to 4. We can see that on the next line...

Hi @simrat39, is there a follow-up to this? I found simrat39/rust-tools.nvim#74 which is closed, does it mean that you won't be able to support the feature? P.S. I love the...

Aha, I just understood that it might be wrong handling of the `i` parameter (in-word expansion), and not the context thing.

It seems to be fixed in [this fork](https://github.com/manank20/leetcode-cli).

Sure, but it's not my fork though :)

I thought that I could open a pr from that repo, but it's obviously not the case. I can just copy those changes in my fork and create a pr,...