Joel de Guzman
Joel de Guzman
I'll have to think about this some more as it introduces a new behavior. The previous behavior in which you provided a patch for is suspicious to begin with. What...
I don't think so. You need a mutable sequence. Views are not. Edit: Disregard.
> It works good, when i need to get one element(not a vector): > https://godbolt.org/z/qo74dG47z I see. So it's not really about mutability, but the requirement of std::vector to be...
Again, the issue here is that `std::vector` requires default constructible elements. Fusion views are not. Typically, they hold a reference to a fusion container.
> fix for it looks like very easy > https://godbolt.org/z/hEhP4W6jz Interesting trick!
After thinking about it, I think I am with @Kojoley here. Special case should be avoided as much as possible. There ought to be another solution that does not require...
Do you want to disallow parsing `double_` into `int` or `char`? In c++ this is allowed : `char x = 66.0;`... granted you'll get a warning.
> So, maybe this is not a bug, but also it seems it's very counter-intuitive :( > I don't know what's best; so, I'll understand if you just close this...
> No one on the Earth will parse as double and then convert it to an integer, it is also a dangerous thing because if the value does not fit...
> I am not a fan of Qi's plain to container parsing, so I think both cases should not compile. For better or worse, it is what it is and...