Use template parameter as return type
With this change one has to explicitly select unique_ptr and shared_ptr. This allows to also use the factory with types having value semantics. The result type could be, e.g. std::function<...> and the implementation types would need to have a proper signature.
parent
00cd88b8
No related branches found
No related tags found
Please register or sign in to comment