On Friday, 28 June 2013 at 13:55:54 UTC, Namespace wrote:
And why don't you call the function from your clone function?
Because the body of the new function needs to see the parameters as known at compile-time.
Maybe this could help you: http://dpaste.1azy.net/fork/597affd2I used it to generate my own rvalue functions because of the lack of rvalue references.
Thanks, that was helpful for a few hints, but it doesn't fix this particular problem.