You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is the following supposed to work? What would be the "right" way of making this work? Adding an overload for std::array<T,0> doesn't work (at least template<typename T> auto serialize(const std::array<T,0> &) -> zpp::bits::members<0>; doesn't fix the problem). While the example is somewhat weird, perhaps std::vectors<std::array<double, 0>> are useful types?
honestly, same, but you know, it happens. I needed to have a vector of arrays to be compliant with a concept, but the concept didn't specify how big the array should be and I didn't need it so I ended up with an array of size zero (which technically take some space for some reason)
Hi, is the following supposed to work? What would be the "right" way of making this work? Adding an overload for
std::array<T,0>
doesn't work (at leasttemplate<typename T> auto serialize(const std::array<T,0> &) -> zpp::bits::members<0>;
doesn't fix the problem). While the example is somewhat weird, perhapsstd::vectors<std::array<double, 0>>
are useful types?https://godbolt.org/z/3vWssr3G7
p.s. thanks for the excellent library.
The text was updated successfully, but these errors were encountered: