[PATCH] D48349: [ADT] Add llvm::unique_function which is like std::function but supporting move-only closures.
    Chandler Carruth via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jun 20 11:39:36 PDT 2018
    
    
  
chandlerc added a comment.
In https://reviews.llvm.org/D48349#1138032, @zturner wrote:
> Not to suggest the obvious, but `UniqueFunction.h`?
If people prefer that, totally fine with me.
I went with this because we might want to merge `llvm::function_ref` into this file. And we might want to add `llvm::function` rather than relying on `std::function` given the amount of churn in that part of the standard library.
Repository:
  rL LLVM
https://reviews.llvm.org/D48349
    
    
More information about the llvm-commits
mailing list