From 0f60c68ab9366a64063d7bf3f3b8c3eedf07bcb7 Mon Sep 17 00:00:00 2001 From: "Jordan Maples [MSFT]" <49793787+JordanMaples@users.noreply.github.com> Date: Mon, 24 Feb 2020 14:41:29 -0800 Subject: [PATCH] disgusting test to get apple clang to work, dont look at it --- include/gsl/span | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/gsl/span b/include/gsl/span index bcb55d4..7484f38 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -68,11 +68,15 @@ namespace std // array is only used for a few constructors, so pulling the entire header is unnecessary for span. // The end user's logic will pull in the actual definition of array if they need it. template -#if defined(__clang__) && !defined(__APPLE__) -struct array; +#if defined(__clang__) +struct \ +#if defined(__APPLE__) +_LIBCPP_TYPE_VIS_ONLY \ +#endif +array; #else class array; -#endif // defined(__clang__) && !defined(__APPLE__) +#endif // defined(__clang__) } namespace gsl