kelbon
kelbon
> What about fast_match I do not see such possibility now, sorry if it exist
> For example, it might look something like this: > > ```c++ > template > struct Deref { > struct Target {}; > > static auto do_invoke(const T&) -> Target&;...
> Can you show how you see interfaces with template parameters? ```C++ template struct foo { template struct trait { static X do_invoke(T& self) { return X{}; } }; };...
Heh, its interesting... You can use smth like this: ```C++ // do not works for fundamental types template struct AA_MSVC_EBO static_ref : T, aa::plugin_t... { static_ref() = delete; static_ref(const static_ref&)...
Why not use overload in this case? smart_foo(poly_ref) smart_foo(auto&&) / smart_foo(static_ref) if you want to use plugin methods
> I try to make the smartest static or poly ref `sop_ref`: > > ```c++ > struct infallible{}; > > template > constexpr inline bool satisfies_v = true; > >...
> I try to make the smartest static or poly ref `sop_ref`: > > ```c++ > struct infallible{}; > > template > constexpr inline bool satisfies_v = true; > >...
> xlnt always overwrites the existing file with the full content. It supports reading and writing to an array of bytes if you want to write your own logic. but...
> Probably not a big deal, if you have the time to write "A1" (not even mentioning small string optimization) You'll use `XLCell XLWorksheet::cell(uint32_t rowNumber, uint16_t columnNumber) const` everywhere else....
In really best realization it may be cell("A1:B4") which accepts consteval constructed object of RangeCell so it may be calculated even on compile time. And if you use const std::string&,...