From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- cutl/details/boost/tr1/detail/config.hpp | 169 --------------------------- cutl/details/boost/tr1/detail/config_all.hpp | 168 -------------------------- cutl/details/boost/tr1/regex.hpp | 147 ----------------------- 3 files changed, 484 deletions(-) delete mode 100644 cutl/details/boost/tr1/detail/config.hpp delete mode 100644 cutl/details/boost/tr1/detail/config_all.hpp delete mode 100644 cutl/details/boost/tr1/regex.hpp (limited to 'cutl/details/boost/tr1') diff --git a/cutl/details/boost/tr1/detail/config.hpp b/cutl/details/boost/tr1/detail/config.hpp deleted file mode 100644 index 6231886..0000000 --- a/cutl/details/boost/tr1/detail/config.hpp +++ /dev/null @@ -1,169 +0,0 @@ -// (C) Copyright John Maddock 2005-7. -// 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) - -#ifndef BOOST_TR1_DETAIL_CONFIG_HPP_INCLUDED -# define BOOST_TR1_DETAIL_CONFIG_HPP_INCLUDED - -#include - -#if (defined(__GNUC__) && !(defined(linux) || defined(__linux) || defined(__linux__))) \ - || (!defined(_AIX) && defined(__IBMCPP__) && (__IBMCPP__ >= 800)) - // Disable use of #include_next on Linux as typically we are installed in a - // directory that is searched *after* the std lib include path. -#if !defined(BOOST_HAS_INCLUDE_NEXT) -# define BOOST_HAS_INCLUDE_NEXT -#endif -// Need to find out if we're using GLIBC: -#ifdef BOOST_TR1_UTILITY_INCLUDED -// Oops we're in a recursive include path!! -// Need to include utility, or some std lib header, -// but *not* via or -# ifndef BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_CONFIG_RECURSION -# endif -# if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) -# include_next -# else -# include BOOST_TR1_STD_HEADER(utility) -# endif -# ifdef BOOST_TR1_NO_CONFIG_RECURSION -# undef BOOST_TR1_NO_CONFIG_RECURSION -# undef BOOST_TR1_NO_RECURSION -# endif -#else -#include -#endif -#endif - -#if defined(__GLIBCXX__) && !defined(BOOST_TR1_PATH) -# define BOOST_TR1_PATH(name) tr1/name -#endif -#if !defined(BOOST_TR1_PATH) -# define BOOST_TR1_PATH(name) name -#endif - -#define BOOST_TR1_HEADER(name) - -// Can't use BOOST_WORKAROUND here, it leads to recursive includes: -#if (defined(__BORLANDC__) && (__BORLANDC__ <= 0x600)) || (defined(_MSC_VER) && (_MSC_VER < 1310)) -# define BOOST_TR1_USE_OLD_TUPLE -#endif - -#ifdef __IBMCPP_TR1__ - // turn on support for everything: -# define BOOST_HAS_TR1 -#endif - -#ifdef __GXX_EXPERIMENTAL_CXX0X__ -# define BOOST_HAS_TR1_COMPLEX_OVERLOADS -# define BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG -#endif - -#ifdef BOOST_HAS_TR1 - // turn on support for everything: -# define BOOST_HAS_TR1_ARRAY -# define BOOST_HAS_TR1_COMPLEX_OVERLOADS -# define BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG -# define BOOST_HAS_TR1_REFERENCE_WRAPPER -# define BOOST_HAS_TR1_RESULT_OF -# define BOOST_HAS_TR1_MEM_FN -# define BOOST_HAS_TR1_BIND -# define BOOST_HAS_TR1_FUNCTION -# define BOOST_HAS_TR1_HASH -# define BOOST_HAS_TR1_SHARED_PTR -# define BOOST_HAS_TR1_RANDOM -# define BOOST_HAS_TR1_REGEX -# define BOOST_HAS_TR1_TUPLE -# define BOOST_HAS_TR1_TYPE_TRAITS -# define BOOST_HAS_TR1_UTILITY -# define BOOST_HAS_TR1_UNORDERED_MAP -# define BOOST_HAS_TR1_UNORDERED_SET -# define BOOST_HAS_TR1_CMATH - -#endif - -#if defined(__MWERKS__) && (__MWERKS__ >= 0x3205) -// -// Very preliminary MWCW support, may not be right: -// -# define BOOST_HAS_TR1_SHARED_PTR -# define BOOST_HAS_TR1_REFERENCE_WRAPPER -# define BOOST_HAS_TR1_FUNCTION -# define BOOST_HAS_TR1_TUPLE -# define BOOST_HAS_TR1_RESULT_OF -#endif - -#ifdef BOOST_HAS_GCC_TR1 - // turn on support for everything in gcc 4.0.x: -# define BOOST_HAS_TR1_ARRAY -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 403 -//# define BOOST_HAS_TR1_COMPLEX_OVERLOADS -# define BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG -#endif -# define BOOST_HAS_TR1_REFERENCE_WRAPPER -# define BOOST_HAS_TR1_RESULT_OF -# define BOOST_HAS_TR1_MEM_FN -# define BOOST_HAS_TR1_BIND -# define BOOST_HAS_TR1_FUNCTION -# define BOOST_HAS_TR1_HASH -# define BOOST_HAS_TR1_SHARED_PTR -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 403 -# define BOOST_HAS_TR1_RANDOM -//# define BOOST_HAS_TR1_REGEX -#ifdef _GLIBCXX_USE_C99_MATH_TR1 -# define BOOST_HAS_TR1_CMATH -#endif -#endif -# define BOOST_HAS_TR1_TUPLE -# define BOOST_HAS_TR1_TYPE_TRAITS -# define BOOST_HAS_TR1_UTILITY -# define BOOST_HAS_TR1_UNORDERED_MAP -# define BOOST_HAS_TR1_UNORDERED_SET - -#endif - -#if defined(_MSC_VER) && (_MSC_VER >= 1500) \ - && defined(_MSC_FULL_VER) && \ - !defined(__SGI_STL_PORT) && \ - !defined(_STLPORT_VERSION) && \ - !defined(_RWSTD_VER_STR) && \ - !defined(_RWSTD_VER) -// -// MSVC-9.0 defines a not-quite TR1 conforming hash -// function object in , so we must define -// this here, in addition the feature pack for VC9 -// provides a more or less full TR1 implementation: -// -# if defined(_HAS_TR1) && (_HAS_TR1 + 0) -# define BOOST_HAS_TR1_ARRAY -# define BOOST_HAS_TR1_REFERENCE_WRAPPER -# define BOOST_HAS_TR1_RESULT_OF -# define BOOST_HAS_TR1_MEM_FN -# define BOOST_HAS_TR1_BIND -# define BOOST_HAS_TR1_FUNCTION -# define BOOST_HAS_TR1_HASH -# define BOOST_HAS_TR1_SHARED_PTR -# define BOOST_HAS_TR1_RANDOM -# define BOOST_HAS_TR1_REGEX -# define BOOST_HAS_TR1_TUPLE -# define BOOST_HAS_TR1_TYPE_TRAITS -# define BOOST_HAS_TR1_UTILITY -# define BOOST_HAS_TR1_UNORDERED_MAP -# define BOOST_HAS_TR1_UNORDERED_SET -# else -# define BOOST_HAS_TR1_HASH -# endif -# if _MSC_VER >= 1600 -# define BOOST_HAS_CPP_0X -# endif -#endif - -#include - -#endif - - - diff --git a/cutl/details/boost/tr1/detail/config_all.hpp b/cutl/details/boost/tr1/detail/config_all.hpp deleted file mode 100644 index 0ee5c8d..0000000 --- a/cutl/details/boost/tr1/detail/config_all.hpp +++ /dev/null @@ -1,168 +0,0 @@ -// (C) Copyright John Maddock 2005. -// 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) - -/* - * The gcc include path logic is derived from STLport: - * - * Copyright (c) 1994 - * Hewlett-Packard Company - * - * Copyright (c) 1996-1999 - * Silicon Graphics Computer Systems, Inc. - * - * Copyright (c) 1997 - * Moscow Center for SPARC Technology - * - * Copyright (c) 1999-2003 - * Boris Fomitchev - * - * This material is provided "as is", with absolutely no warranty expressed - * or implied. Any use is at your own risk. - * - * Permission to use or copy this software for any purpose is hereby granted - * without fee, provided the above notices are retained on all copies. - * Permission to modify the code and to distribute modified code is granted, - * provided the above notices are retained, and a notice that the code was - * modified is included with the above copyright notice. - * - */ - -#ifndef BOOST_TR1_DETAIL_CONFIG_ALL_HPP_INCLUDED -# define BOOST_TR1_DETAIL_CONFIG_ALL_HPP_INCLUDED - -// -// IMPORTANT: we must figure out the basics, such as how to -// forward to the real std lib headers *without* including -// boost/config.hpp or any of the std lib headers. A classic -// chicken and the egg problem.... -// -// Including at least lets us detect STLport: -// -#include - -// Including allows us to use __GLIBCXX__ to -// determine the version of the stdc++ library in use -// under Darwin. -#include - -# if defined(_RWSTD_VER) && _RWSTD_VER >= 0x04010200 -# if !defined (__SUNPRO_CC) && !defined (__DECCXX) -# define BOOST_TR1_STD_CHEADER(name) <../include/ansi/name> -# endif -# endif - - -# if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && !defined(__BORLANDC__) -# ifdef __SUNPRO_CC - // can't use <../stlport/name> since some compilers put stlport in a different directory: -# define BOOST_TR1_STD_HEADER(name) <../stlport4/name> -# elif defined(__PGI) -# define BOOST_TR1_STD_HEADER(name) <../CC/name> -# else -# define BOOST_TR1_STD_HEADER(name) <../stlport/name> -# endif -# elif defined(__PATHSCALE__) && (defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)) -# define BOOST_TR1_STD_HEADER(name) <../include/name> - -# elif defined(__SUNPRO_CC) && (defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)) -# define BOOST_TR1_STD_HEADER(name) <../stdcxx4/name> - -# elif defined(__HP_aCC) - // HP aCC include path: -# define BOOST_TR1_STD_HEADER(name) <../include_std/name> - -# elif defined(__DECCXX) -# define BOOST_TR1_STD_HEADER(name) <../cxx/name> - -# elif defined(__BORLANDC__) && __BORLANDC__ >= 0x570 -# define BOOST_TR1_STD_HEADER(name) <../include/dinkumware/name> - -# elif defined(__clang__) -# define BOOST_TR1_STD_HEADER(name) <../include/name> - -# elif defined(__GNUC__) && __GNUC__ >= 3 -# if defined(BOOST_TR1_GCC_INCLUDE_PATH) -# define BOOST_TR1_STD_HEADER(name) <../BOOST_TR1_GCC_INCLUDE_PATH/name> -# elif ( (__GNUC__ == 3 ) && ((__GNUC_MINOR__ == 0) || ((__GNUC_MINOR__ < 3) && defined(__APPLE_CC__)))) -# define BOOST_TR1_STD_HEADER(name) <../g++-v3/name> -# else -# if ( ((__GNUC__ == 3 ) && (__GNUC_MINOR__ >= 3)) && (defined(__APPLE_CC__) || defined(__CYGWIN__))) -# define BOOST_TR1_STD_HEADER(name) <../c++/name> -# elif ((__GLIBCXX__ == 20050421) && defined(__APPLE_CC__)) - // Some Darwin tools fix libstdc++ at 4.0.0 irrespective of the actual - // compiler version: -# define BOOST_TR1_STD_HEADER(name) <../4.0.0/name> - /* - * Before version 3.4.0 the 0 patch level was not part of the include path: - */ -# elif defined (__GNUC_PATCHLEVEL__) && ((__GNUC_PATCHLEVEL__ > 0) || \ - (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \ - (__GNUC__ > 3)) -# define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name> -# else -# define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__/name> -# endif -# endif - -# if !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) && !defined(__ICC) \ - && (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) - // Disable use of #include_next on Linux as typically we are installed in a directory that is searched - // *after* the std lib include path: -# define BOOST_TR1_DISABLE_INCLUDE_NEXT -# endif - -# else -# define BOOST_TR1_STD_HEADER(name) <../include/name> -# endif - -#if !defined(BOOST_TR1_STD_CHEADER) -# define BOOST_TR1_STD_CHEADER(name) BOOST_TR1_STD_HEADER(name) -#endif - -#if defined(__GNUC__) && !defined(BOOST_HAS_INCLUDE_NEXT) -# define BOOST_HAS_INCLUDE_NEXT -#endif -#ifdef __GXX_EXPERIMENTAL_CXX0X__ -# define BOOST_HAS_CPP_0X -#endif -#if defined(_MSC_VER) && (_MSC_VER >= 1600) && !defined(BOOST_HAS_CPP_0X) -# define BOOST_HAS_CPP_0X -#endif -// -// We may be in the middle of parsing boost/config.hpp -// when this header is included, so don't rely on config -// stuff in the rest of this header... -// -// Find our actual std lib: -// -#if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) -// -// We don't take this branch if BOOST_TR1_DISABLE_INCLUDE_NEXT -// is defined as we may be installed in -// /usr/include, in which case #include_next won't work as our -// include path will occur AFTER the regular std lib one :-( -// -# ifndef BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_CONFIG_ALL_RECURSION -# endif -# include_next -# if (__GNUC__ < 3) -# include_next -# include_next -# endif -# ifdef BOOST_TR1_NO_CONFIG_ALL_RECURSION -# undef BOOST_TR1_NO_CONFIG_ALL_RECURSION -# undef BOOST_TR1_NO_RECURSION -# endif -#else -# include BOOST_TR1_STD_HEADER(utility) -#endif - -#include - -#endif - - diff --git a/cutl/details/boost/tr1/regex.hpp b/cutl/details/boost/tr1/regex.hpp deleted file mode 100644 index 156228d..0000000 --- a/cutl/details/boost/tr1/regex.hpp +++ /dev/null @@ -1,147 +0,0 @@ -// (C) Copyright John Maddock 2005. -// 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) - -#ifndef BOOST_TR1_REGEX_HPP_INCLUDED -# define BOOST_TR1_REGEX_HPP_INCLUDED -# include - -#ifdef BOOST_HAS_TR1_REGEX - -# if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) -# include_next BOOST_TR1_HEADER(regex) -# else -# include -# include BOOST_TR1_STD_HEADER(BOOST_TR1_PATH(regex)) -# endif - -#else - -#include - -namespace std{ namespace tr1{ - -// [7.5] Regex constants -namespace regex_constants { - -using ::cutl_details_boost::regex_constants::syntax_option_type; -using ::cutl_details_boost::regex_constants::icase; -using ::cutl_details_boost::regex_constants::nosubs; -using ::cutl_details_boost::regex_constants::optimize; -using ::cutl_details_boost::regex_constants::collate; -using ::cutl_details_boost::regex_constants::ECMAScript; -using ::cutl_details_boost::regex_constants::basic; -using ::cutl_details_boost::regex_constants::extended; -using ::cutl_details_boost::regex_constants::awk; -using ::cutl_details_boost::regex_constants::grep; -using ::cutl_details_boost::regex_constants::egrep; - -using ::cutl_details_boost::regex_constants::match_flag_type; -using ::cutl_details_boost::regex_constants::match_default; -using ::cutl_details_boost::regex_constants::match_not_bol; -using ::cutl_details_boost::regex_constants::match_not_eol; -using ::cutl_details_boost::regex_constants::match_not_bow; -using ::cutl_details_boost::regex_constants::match_not_eow; -using ::cutl_details_boost::regex_constants::match_any; -using ::cutl_details_boost::regex_constants::match_not_null; -using ::cutl_details_boost::regex_constants::match_continuous; -using ::cutl_details_boost::regex_constants::match_prev_avail; -using ::cutl_details_boost::regex_constants::format_default; -using ::cutl_details_boost::regex_constants::format_sed; -using ::cutl_details_boost::regex_constants::format_no_copy; -using ::cutl_details_boost::regex_constants::format_first_only; - -using ::cutl_details_boost::regex_constants::error_type; -using ::cutl_details_boost::regex_constants::error_collate; -using ::cutl_details_boost::regex_constants::error_ctype; -using ::cutl_details_boost::regex_constants::error_escape; -using ::cutl_details_boost::regex_constants::error_backref; -using ::cutl_details_boost::regex_constants::error_brack; -using ::cutl_details_boost::regex_constants::error_paren; -using ::cutl_details_boost::regex_constants::error_brace; -using ::cutl_details_boost::regex_constants::error_badbrace; -using ::cutl_details_boost::regex_constants::error_range; -using ::cutl_details_boost::regex_constants::error_space; -using ::cutl_details_boost::regex_constants::error_badrepeat; -using ::cutl_details_boost::regex_constants::error_complexity; -using ::cutl_details_boost::regex_constants::error_stack; - -} // namespace regex_constants - -// [7.6] Class regex_error -using ::cutl_details_boost::regex_error; - -// [7.7] Class template regex_traits -using ::cutl_details_boost::regex_traits; - -// [7.8] Class template basic_regex -using ::cutl_details_boost::basic_regex; -using ::cutl_details_boost::regex; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wregex; -#endif - -#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0582) -// [7.8.6] basic_regex swap -using ::cutl_details_boost::swap; -#endif - -// [7.9] Class template sub_match -using ::cutl_details_boost::sub_match; - -using ::cutl_details_boost::csub_match; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wcsub_match; -#endif -using ::cutl_details_boost::ssub_match; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wssub_match; -#endif - -// [7.10] Class template match_results -using ::cutl_details_boost::match_results; -using ::cutl_details_boost::cmatch; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wcmatch; -#endif -using ::cutl_details_boost::smatch; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wsmatch; -#endif - -using ::cutl_details_boost::regex_match; - -// [7.11.3] Function template regex_search -using ::cutl_details_boost::regex_search; - -// [7.11.4] Function template regex_replace -using ::cutl_details_boost::regex_replace; - -// [7.12.1] Class template regex_iterator -using ::cutl_details_boost::regex_iterator; -using ::cutl_details_boost::cregex_iterator; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wcregex_iterator; -#endif -using ::cutl_details_boost::sregex_iterator; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wsregex_iterator; -#endif - -// [7.12.2] Class template regex_token_iterator -using ::cutl_details_boost::regex_token_iterator; -using ::cutl_details_boost::cregex_token_iterator; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wcregex_token_iterator; -#endif -using ::cutl_details_boost::sregex_token_iterator; -#ifndef BOOST_NO_WREGEX -using ::cutl_details_boost::wsregex_token_iterator; -#endif - -} } // namespaces - -#endif - -#endif -- cgit v1.1