Skip to content

Commit 8564890

Browse files
committed
Disable is_empty check for Windows due to inefficient ABI
1 parent 5f14dd0 commit 8564890

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/operators/operators.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// The Art of C++ / Operators
2-
// Copyright (c) 2013-2016 Daniel Frey
2+
// Copyright (c) 2013-2017 Daniel Frey
33
// Please see LICENSE for license or visit https://github.com/taocpp/operators/
44

55
#include <tao/operators.hpp>
@@ -114,7 +114,9 @@ int main()
114114
assert( x3 % x2 == 1 );
115115
assert( x3 % 2 == 1 );
116116

117+
#ifndef _WIN32
117118
static_assert( std::is_empty< E >::value, "oops" );
119+
#endif
118120

119121
adl_test( E() );
120122

0 commit comments

Comments
 (0)