[libcxx-commits] [PATCH] D77563: [libc++] Move C++17 check around optional only in ObjC is_scalar test.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 6 09:12:07 PDT 2020


zoecarver marked an inline comment as done.
zoecarver added inline comments.


================
Comment at: libcxx/test/libcxx/type_traits/is_scalar.objc.pass.mm:20
 #include <type_traits>
+#if __cplusplus >= 201703L
 #include <optional>
----------------
I'm using this because I'm not sure if it will work to include `test_macros.h`. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77563/new/

https://reviews.llvm.org/D77563





More information about the libcxx-commits mailing list