sewenew
Results
163
comments of
sewenew
[BUG] sw::redis::Subscriber is move-assignable/constructable but does not have a default constructor
[This](https://groups.google.com/g/comp.lang.c++.moderated/c/-TK-z5e34Is) is some interesting discussion on a similar problem. Regards
[BUG] sw::redis::Subscriber is move-assignable/constructable but does not have a default constructor
> From what you said above, I thought we have agreed on the designing philosophy of STL. However, the designing philosophy of STL never mentioned that an STL class must...
[BUG] sw::redis::Subscriber is move-assignable/constructable but does not have a default constructor
@witeyou Try the following code: ``` auto r = Redis("redis://127.0.0.1"); std::unique_ptr sub_uptr(new Subscriber(r.subscriber())); auto sub_sptr = std::make_shared(r.subscriber()); ``` Regards