Skip to content
Snippets Groups Projects
Commit b1d476d2 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment