Commit 7ab98de
Migrate remaining folly::void_t callers to std::void_t
Summary:
Replace `folly::void_t` with `std::void_t` in the remaining leaf callers
outside of `folly` itself, and drop `fbsystrace`'s private verbatim copy of
folly's `void_t` in favor of the standard one.
See the base of this stack for why `std::void_t` is a behavior-preserving
replacement: the [CWG 1558](http://open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#1558)
defect motivating folly's implementation has been resolved and is implemented
correctly by GCC, Clang, and MSVC.
`FBIsNullaryCallableButNotObjCBlock.h` only mentioned `folly::void_t` in a
comment; the reference is updated for accuracy.
`#include <folly/Traits.h>` is dropped from `RouteHandleTestUtil.h` and
`TypedIdentifierTest.cpp`, which no longer use anything from it.
Differential Revision: D115143902
fbshipit-source-id: 8c29c3895a60cc8b75332624411a8297ca075e781 parent 7e20016 commit 7ab98de
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | | - | |
| 367 | + | |
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
| |||
0 commit comments