This commit is contained in:
Jordan Maples [MSFT] 2020-02-24 14:47:45 -08:00
parent 0f60c68ab9
commit 32e5fea6ac

View File

@ -69,11 +69,14 @@ namespace std
// 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__) #if defined(__clang__)
struct \
#if defined(__APPLE__) #if defined(__APPLE__)
_LIBCPP_TYPE_VIS_ONLY \ #define VIS_MOD _LIBCPP_TYPE_VIS_ONLY
#else
#define VIS_MOD
#endif #endif
array;
struct VIS_MOD array;
#else #else
class array; class array;
#endif // defined(__clang__) #endif // defined(__clang__)