commit | 5b3183215b1a30bcbb036d77e747f573767b9314 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Mon Dec 10 18:14:09 2018 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Mon Dec 10 18:14:09 2018 +0000 |
tree | f34c06f2e6460e2dd14477d187af5d58e2cb2c7a | |
parent | 49ad9aa8cb0b98d02154c53111a74ea13464a722 [diff] |
Refactor std::function to more easily support alternative implementations. Patch from Jordan Soyke (jsoyke@google.com) Reviewed as D55520 This change adds a new internal class, called __value_func, that adds a minimal subset of value-type semantics to the internal __func interface. The change is NFC, and is cleanup for the upcoming ABI v2 function implementation (D55045). git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@348778 91177308-0d34-0410-b5e6-96231b3b80d8