Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active June 25, 2017 17:14
Embed
What would you like to do?
std::unique_ptr<IFindTheBestPlaces> find_best_places_service()
{
ISearchTrains& iSearchTrains = ...;
IReserveTrains& iReserveTrains = ...;
ILog& iLog = ...;
return std::make_unique<FindTheBestPlaces>(iReserveTrains, iSearchTrains, iLog);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment