mirror of
https://github.com/boostorg/mpl.git
synced 2025-07-31 21:34:44 +02:00
Add a test for the conflict with <ciso646> under MSVC. Refs #84.
This commit is contained in:
@@ -115,3 +115,4 @@ compile zip_view.cpp ;
|
||||
run string.cpp ;
|
||||
|
||||
run issue_69.cpp ;
|
||||
run issue_84.cpp ;
|
||||
|
15
test/issue_84.cpp
Normal file
15
test/issue_84.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2025 Peter Dimov
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
// Check for conflicts with MS iso646.h, which defines macros for `and` et al
|
||||
|
||||
#include <ciso646>
|
||||
#include <boost/mpl/and.hpp>
|
||||
#include <boost/mpl/or.hpp>
|
||||
#include <boost/mpl/bitand.hpp>
|
||||
#include <boost/mpl/bitor.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user