[PATCH] D75281: BumpPtrAllocator: Use extern templates and out of line methods
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 28 01:04:32 PST 2020
hans added a comment.
> Regarding the explicit instantiation, all of the methods are still defined in the header, so any users with non-default template args will instantiate their own definitions of Allocate & co.
Ah, makes sense. For some reason I imagined some code moving into the .cpp file, but I see that's not actually what you were doing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75281/new/
https://reviews.llvm.org/D75281
More information about the llvm-commits
mailing list