Skip to content

Commit 268f361

Browse files
committed
Modularize mp_from_sequence_3
1 parent bd86b4d commit 268f361

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/mp_from_sequence_3.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
// Distributed under the Boost Software License, Version 1.0.
33
// https://www.boost.org/LICENSE_1_0.txt
44

5+
#ifdef BOOST_USE_MODULES
6+
#include <boost/core/lightweight_test_trait_macros.hpp>
7+
import std;
8+
import boost.core;
9+
import boost.mp11;
10+
#else
511
#include <boost/mp11/algorithm.hpp>
612
#include <boost/core/lightweight_test_trait.hpp>
713
#include <type_traits>
14+
#endif
15+
816

917
template<class T, T... I> struct S;
1018

0 commit comments

Comments
 (0)