disgusting test to get apple clang to work, dont look at it

This commit is contained in:
Jordan Maples [MSFT] 2020-02-24 14:41:29 -08:00
parent 60372b6468
commit 0f60c68ab9

View File

@ -68,11 +68,15 @@ namespace std
// array is only used for a few constructors, so pulling the entire header is unnecessary for span. // 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. // The end user's logic will pull in the actual definition of array if they need it.
template <class Type, std::size_t Sz> template <class Type, std::size_t Sz>
#if defined(__clang__) && !defined(__APPLE__) #if defined(__clang__)
struct array; struct \
#if defined(__APPLE__)
_LIBCPP_TYPE_VIS_ONLY \
#endif
array;
#else #else
class array; class array;
#endif // defined(__clang__) && !defined(__APPLE__) #endif // defined(__clang__)
} }
namespace gsl namespace gsl