> On Oct 24, 2016, at 12:00 PM, Benjamin Kramer <benny....@gmail.com> wrote:
> 
> a helper class such as llvm::function_ref[1] might come
> in handy, which acts like a function pointer but also allows captures
> to be passed around.

Thanks. Is that class something I can just copy-and-paste into my code? Will it 
work with other compilers like GCC or MSVC?
(Sorry if these are naive questions; I’m not knowledgeable enough about 
templates to be able to understand that source code.)

—Jens
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to