Skip to content
Snippets Groups Projects
Commit f0251e7e authored by Daniel Teske's avatar Daniel Teske
Browse files

Make Utils::transform more generic


- Works for all container types now, defaulting to
  the same container type for input and output

- Enables specifying the result container type,
  e.g. QSet<X> x = Utils::transform<QSet>(list, function);

- Use our own inserter instead of std::back_inserter,
  to enable usage with QSet<>

Change-Id: I7256e51430bfc1409456c68b6ee270778b95e9d5
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 55ade841
No related branches found
No related tags found
No related merge requests found
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