[libc++] Make sure std::is_scalar returns true for block types
Summary: The compiler already treats them as scalar types, so the library should too. Furthermore, this allows blocks to be used in more places, for example in std::optional, which requires an object type. rdar://problem/57892832 Reviewers: dexonsmith, EricWF, mclow.lists Differential Revision: https://reviews.llvm.org/D72708
Loading
Please register or sign in to comment