mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 12:02:36 +08:00
Mark LWG issue 2450 as complete.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271473 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#include <type_traits>
|
||||
#include <cassert>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
typedef std::equal_to<int> F;
|
||||
@@ -24,7 +26,7 @@ int main()
|
||||
static_assert((std::is_same<bool, F::result_type>::value), "" );
|
||||
assert(f(36, 36));
|
||||
assert(!f(36, 6));
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
#if TEST_STD_VER > 11
|
||||
typedef std::equal_to<> F2;
|
||||
const F2 f2 = F2();
|
||||
assert(f2(36, 36));
|
||||
|
||||
Reference in New Issue
Block a user