diff options
Diffstat (limited to 'libcxx/include/tuple')
| -rw-r--r-- | libcxx/include/tuple | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/tuple b/libcxx/include/tuple index 9e05759a30a..d2bc21f80ca 100644 --- a/libcxx/include/tuple +++ b/libcxx/include/tuple @@ -130,7 +130,11 @@ _LIBCPP_BEGIN_NAMESPACE_STD struct _LIBCPP_VISIBLE allocator_arg_t { }; +#if defined(_LIBCPP_HAS_NO_CONSTEXPR) || defined(_LIBCPP_BUILDING_MEMORY) extern const allocator_arg_t allocator_arg; +#else +constexpr allocator_arg_t allocator_arg = allocator_arg_t(); +#endif // uses_allocator |

