diff --git a/include/boost/regex/pending/unicode_iterator.hpp b/include/boost/regex/pending/unicode_iterator.hpp new file mode 100644 index 00000000..a565570a --- /dev/null +++ b/include/boost/regex/pending/unicode_iterator.hpp @@ -0,0 +1,32 @@ +/* + * + * Copyright (c) 2020 + * John Maddock + * + * Use, modification and distribution are subject to the + * Boost Software License, Version 1.0. (See accompanying file + * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + * + */ + + /* + * LOCATION: see http://www.boost.org for most recent version. + * FILE unicode_iterator.hpp + * VERSION see + * DESCRIPTION: Iterator adapters for converting between different Unicode encodings. + */ + +#ifndef BOOST_REGEX_PENDING_UNICODE_ITERATOR_HPP +#define BOOST_REGEX_PENDING_UNICODE_ITERATOR_HPP + +#include + +#if defined(BOOST_REGEX_CXX03) +#include +#else +#include +#endif + + +#endif // BOOST_REGEX_PENDING_UNICODE_ITERATOR_HPP + diff --git a/include/boost/regex/v4/unicode_iterator.hpp b/include/boost/regex/v4/unicode_iterator.hpp index 37fa5102..25711fc7 100644 --- a/include/boost/regex/v4/unicode_iterator.hpp +++ b/include/boost/regex/v4/unicode_iterator.hpp @@ -58,8 +58,8 @@ Accepts UTF-32 code points and forwards them on as UTF-16 code points. ****************************************************************************/ -#ifndef BOOST_REGEX_UNICODE_ITERATOR_HPP -#define BOOST_REGEX_UNICODE_ITERATOR_HPP +#ifndef BOOST_REGEX_V4_UNICODE_ITERATOR_HPP +#define BOOST_REGEX_V4_UNICODE_ITERATOR_HPP #include #include #include diff --git a/test/unicode/unicode_iterator_test.cpp b/test/unicode/unicode_iterator_test.cpp index 50b2df71..6ead714d 100644 --- a/test/unicode/unicode_iterator_test.cpp +++ b/test/unicode/unicode_iterator_test.cpp @@ -17,11 +17,7 @@ */ #include -#ifdef BOOST_REGEX_CXX03 -#include -#else -#include -#endif +#include #include #include "../test_macros.hpp" #include