diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2016-09-22 00:23:15 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2016-09-22 00:23:15 +0000 |
| commit | a48055cee3b95e92343fadca912b0ad5d11aa966 (patch) | |
| tree | 627447c3af6a8862168db2cabfc9d99d9370ea5b /libcxx/include/__functional_base | |
| parent | 725acc4d8507f0fecd20455fbd635c8e724632c7 (diff) | |
| download | bcm5719-llvm-a48055cee3b95e92343fadca912b0ad5d11aa966.tar.gz bcm5719-llvm-a48055cee3b95e92343fadca912b0ad5d11aa966.zip | |
Add missing _v traits. is_bind_expression_v, is_placeholder_v and uses_allocator_v
llvm-svn: 282126
Diffstat (limited to 'libcxx/include/__functional_base')
| -rw-r--r-- | libcxx/include/__functional_base | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/__functional_base b/libcxx/include/__functional_base index 1a08ea29dee..82b414674ea 100644 --- a/libcxx/include/__functional_base +++ b/libcxx/include/__functional_base @@ -625,6 +625,11 @@ struct _LIBCPP_TYPE_VIS_ONLY uses_allocator { }; +#if _LIBCPP_STD_VER > 14 +template <class _Tp, class _Alloc> +constexpr size_t uses_allocator_v = uses_allocator<_Tp, _Alloc>::value; +#endif + #ifndef _LIBCPP_HAS_NO_VARIADICS // allocator construction |

