mirror of
https://github.com/boostorg/compatibility.git
synced 2026-07-21 13:13:31 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 56e6a18406 | |||
| 7162383dea |
@@ -1,20 +0,0 @@
|
||||
# Generated by `boostdep --cmake compatibility`
|
||||
# Copyright 2020 Peter Dimov
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# https://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
cmake_minimum_required(VERSION 3.5...3.16)
|
||||
|
||||
project(boost_compatibility VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
||||
|
||||
add_library(boost_compatibility INTERFACE)
|
||||
add_library(Boost::compatibility ALIAS boost_compatibility)
|
||||
|
||||
target_include_directories(boost_compatibility INTERFACE include)
|
||||
|
||||
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
||||
|
||||
add_subdirectory(test)
|
||||
|
||||
endif()
|
||||
|
||||
@@ -20,9 +20,11 @@
|
||||
# Python is available at:
|
||||
# http://www.python.org/
|
||||
#
|
||||
# Copyright (c) 2001 Ralf W. Grosse-Kunstleve.
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompany-
|
||||
# ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
# Copyright (c) 2001 Ralf W. Grosse-Kunstleve. Permission to copy,
|
||||
# use, modify, sell and distribute this script is granted provided this
|
||||
# copyright notice appears in all copies. This document is provided "as
|
||||
# is" without express or implied warranty, and with no claim as to its
|
||||
# suitability for any purpose.
|
||||
#
|
||||
# Revision history:
|
||||
# 16 Apr 01 moved to boost CVS tree (R.W. Grosse-Kunstleve)
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CASSERT_HEADER
|
||||
#define __CASSERT_HEADER
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#endif // CASSERT_HEADER
|
||||
@@ -1,26 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CCTYPE_HEADER
|
||||
#define __CCTYPE_HEADER
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
namespace std {
|
||||
using ::isalnum;
|
||||
using ::isdigit;
|
||||
using ::isprint;
|
||||
using ::isupper;
|
||||
using ::tolower;
|
||||
using ::isalpha;
|
||||
using ::isgraph;
|
||||
using ::ispunct;
|
||||
using ::isxdigit;
|
||||
using ::toupper;
|
||||
using ::iscntrl;
|
||||
using ::islower;
|
||||
using ::isspace;
|
||||
}
|
||||
|
||||
#endif // CCTYPE_HEADER
|
||||
@@ -1,10 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CERRNO_HEADER
|
||||
#define __CERRNO_HEADER
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#endif // CERRNO_HEADER
|
||||
@@ -1,10 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CFLOAT_HEADER
|
||||
#define __CFLOAT_HEADER
|
||||
|
||||
#include <float.h>
|
||||
|
||||
#endif // CFLOAT_HEADER
|
||||
@@ -1,10 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CLIMITS_HEADER
|
||||
#define __CLIMITS_HEADER
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#endif // CLIMITS_HEADER
|
||||
@@ -1,16 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CLOCALE_HEADER
|
||||
#define __CLOCALE_HEADER
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
namespace std {
|
||||
using ::lconv;
|
||||
using ::localeconv;
|
||||
using ::setlocale;
|
||||
}
|
||||
|
||||
#endif // CLOCALE_HEADER
|
||||
@@ -1,35 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CMATH_HEADER
|
||||
#define __CMATH_HEADER
|
||||
|
||||
#include <math.h>
|
||||
|
||||
namespace std {
|
||||
using ::acos;
|
||||
using ::cos;
|
||||
using ::fmod;
|
||||
using ::modf;
|
||||
using ::tan;
|
||||
using ::asin;
|
||||
using ::cosh;
|
||||
using ::frexp;
|
||||
using ::pow;
|
||||
using ::tanh;
|
||||
using ::atan;
|
||||
using ::exp;
|
||||
using ::ldexp;
|
||||
using ::sin;
|
||||
using ::atan2;
|
||||
using ::fabs;
|
||||
using ::log;
|
||||
using ::sinh;
|
||||
using ::ceil;
|
||||
using ::floor;
|
||||
using ::log10;
|
||||
using ::sqrt;
|
||||
}
|
||||
|
||||
#endif // CMATH_HEADER
|
||||
@@ -1,15 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CSETJMP_HEADER
|
||||
#define __CSETJMP_HEADER
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
namespace std {
|
||||
using ::jmp_buf;
|
||||
using ::longjmp;
|
||||
}
|
||||
|
||||
#endif // CSETJMP_HEADER
|
||||
@@ -1,16 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CSIGNAL_HEADER
|
||||
#define __CSIGNAL_HEADER
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
namespace std {
|
||||
using ::sig_atomic_t;
|
||||
using ::raise;
|
||||
using ::signal;
|
||||
}
|
||||
|
||||
#endif // CSIGNAL_HEADER
|
||||
@@ -1,14 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CSTDARG_HEADER
|
||||
#define __CSTDARG_HEADER
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
namespace std {
|
||||
using ::va_list;
|
||||
}
|
||||
|
||||
#endif // CSTDARG_HEADER
|
||||
@@ -1,15 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CSTDDEF_HEADER
|
||||
#define __CSTDDEF_HEADER
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace std {
|
||||
using ::ptrdiff_t;
|
||||
using ::size_t;
|
||||
}
|
||||
|
||||
#endif // CSTDDEF_HEADER
|
||||
@@ -1,57 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CSTDIO_HEADER
|
||||
#define __CSTDIO_HEADER
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
namespace std {
|
||||
using ::FILE;
|
||||
using ::fpos_t;
|
||||
using ::size_t;
|
||||
using ::clearerr;
|
||||
using ::fgets;
|
||||
using ::fscanf;
|
||||
using ::gets;
|
||||
using ::rename;
|
||||
using ::tmpfile;
|
||||
using ::fclose;
|
||||
using ::fopen;
|
||||
using ::fseek;
|
||||
using ::perror;
|
||||
using ::rewind;
|
||||
using ::tmpnam;
|
||||
using ::feof;
|
||||
using ::fprintf;
|
||||
using ::fsetpos;
|
||||
using ::printf;
|
||||
using ::scanf;
|
||||
using ::ungetc;
|
||||
using ::ferror;
|
||||
using ::fputc;
|
||||
using ::ftell;
|
||||
using ::putc;
|
||||
using ::setbuf;
|
||||
using ::vfprintf;
|
||||
using ::fflush;
|
||||
using ::fputs;
|
||||
using ::fwrite;
|
||||
using ::putchar;
|
||||
using ::setvbuf;
|
||||
using ::vprintf;
|
||||
using ::fgetc;
|
||||
using ::fread;
|
||||
using ::getc;
|
||||
using ::puts;
|
||||
using ::sprintf;
|
||||
using ::vsprintf;
|
||||
using ::fgetpos;
|
||||
using ::freopen;
|
||||
using ::getchar;
|
||||
using ::remove;
|
||||
using ::sscanf;
|
||||
}
|
||||
|
||||
#endif // CSTDIO_HEADER
|
||||
@@ -1,43 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CSTDLIB_HEADER
|
||||
#define __CSTDLIB_HEADER
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
namespace std {
|
||||
using ::abort;
|
||||
using ::atexit;
|
||||
using ::exit;
|
||||
using ::getenv;
|
||||
using ::system;
|
||||
using ::calloc;
|
||||
using ::malloc;
|
||||
using ::free;
|
||||
using ::realloc;
|
||||
using ::atol;
|
||||
using ::mblen;
|
||||
using ::strtod;
|
||||
using ::wctomb;
|
||||
using ::atof;
|
||||
using ::mbstowcs;
|
||||
using ::strtol;
|
||||
using ::wcstombs;
|
||||
using ::atoi;
|
||||
using ::mbtowc;
|
||||
using ::strtoul;
|
||||
using ::bsearch;
|
||||
using ::qsort;
|
||||
using ::div_t;
|
||||
using ::ldiv_t;
|
||||
using ::abs;
|
||||
using ::labs;
|
||||
using ::srand;
|
||||
using ::div;
|
||||
using ::ldiv;
|
||||
using ::rand;
|
||||
}
|
||||
|
||||
#endif // CSTDLIB_HEADER
|
||||
@@ -1,36 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CSTRING_HEADER
|
||||
#define __CSTRING_HEADER
|
||||
|
||||
#include <string.h>
|
||||
|
||||
namespace std {
|
||||
using ::size_t;
|
||||
using ::memchr;
|
||||
using ::strcat;
|
||||
using ::strcspn;
|
||||
using ::strncpy;
|
||||
using ::strtok;
|
||||
using ::memcmp;
|
||||
using ::strchr;
|
||||
using ::strerror;
|
||||
using ::strpbrk;
|
||||
using ::strxfrm;
|
||||
using ::memcpy;
|
||||
using ::strcmp;
|
||||
using ::strlen;
|
||||
using ::strrchr;
|
||||
using ::memmove;
|
||||
using ::strcoll;
|
||||
using ::strncat;
|
||||
using ::strspn;
|
||||
using ::memset;
|
||||
using ::strcpy;
|
||||
using ::strncmp;
|
||||
using ::strstr;
|
||||
}
|
||||
|
||||
#endif // CSTRING_HEADER
|
||||
@@ -1,26 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CTIME_HEADER
|
||||
#define __CTIME_HEADER
|
||||
|
||||
#include <time.h>
|
||||
|
||||
namespace std {
|
||||
using ::size_t;
|
||||
using ::clock_t;
|
||||
using ::time_t;
|
||||
using ::tm;
|
||||
using ::asctime;
|
||||
using ::clock;
|
||||
using ::difftime;
|
||||
using ::localtime;
|
||||
using ::strftime;
|
||||
using ::ctime;
|
||||
using ::gmtime;
|
||||
using ::mktime;
|
||||
using ::time;
|
||||
}
|
||||
|
||||
#endif // CTIME_HEADER
|
||||
@@ -1,156 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CWCHAR_HEADER
|
||||
#define __CWCHAR_HEADER
|
||||
|
||||
#include <wchar.h>
|
||||
|
||||
namespace std {
|
||||
using ::mbstate_t;
|
||||
using ::wint_t;
|
||||
using ::size_t;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::btowc;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::getwchar;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::ungetwc;
|
||||
#endif
|
||||
using ::wcscpy;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wcsrtombs;
|
||||
#endif
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wmemchr;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::fgetwc;
|
||||
#endif
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::mbrlen;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::vfwprintf;
|
||||
#endif
|
||||
#endif
|
||||
using ::wcscspn;
|
||||
using ::wcsspn;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wmemcmp;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::fgetws;
|
||||
#endif
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::mbrtowc;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::vswprintf;
|
||||
#endif
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::wcsftime;
|
||||
#endif
|
||||
using ::wcsstr;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wmemcpy;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::fputwc;
|
||||
#endif
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::mbsinit;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::vwprintf;
|
||||
#endif
|
||||
#endif
|
||||
using ::wcslen;
|
||||
using ::wcstod;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wmemmove;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::fputws;
|
||||
#endif
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::mbsrtowcs;
|
||||
#endif
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wcrtomb;
|
||||
#endif
|
||||
using ::wcsncat;
|
||||
using ::wcstok;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wmemset;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
#if !(defined(__DECCXX_VER) && __DECCXX_VER <= 60290024)
|
||||
using ::fwide;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::putwc;
|
||||
#endif
|
||||
using ::wcscat;
|
||||
using ::wcsncmp;
|
||||
using ::wcstol;
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wprintf;
|
||||
#endif
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::fwprintf;
|
||||
#endif
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::putwchar;
|
||||
#endif
|
||||
using ::wcschr;
|
||||
using ::wcsncpy;
|
||||
using ::wcstoul;
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wscanf;
|
||||
#endif
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::fwscanf;
|
||||
#endif
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::swprintf;
|
||||
#endif
|
||||
#endif
|
||||
using ::wcscmp;
|
||||
using ::wcspbrk;
|
||||
using ::wcsxfrm;
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
using ::getwc;
|
||||
#endif
|
||||
#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::swscanf;
|
||||
#endif
|
||||
#endif
|
||||
using ::wcscoll;
|
||||
using ::wcsrchr;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wctob;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // CWCHAR_HEADER
|
||||
@@ -1,39 +0,0 @@
|
||||
// This file is automatically generated. Do not edit.
|
||||
// ['../../libs/compatibility/generate_cpp_c_headers.py']
|
||||
// Wed Jul 23 12:11:19 2003 ('GMTST', 'GMTST')
|
||||
|
||||
#ifndef __CWCTYPE_HEADER
|
||||
#define __CWCTYPE_HEADER
|
||||
|
||||
#include <wctype.h>
|
||||
|
||||
namespace std {
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wctrans_t;
|
||||
#endif
|
||||
using ::wctype_t;
|
||||
using ::wint_t;
|
||||
using ::iswalnum;
|
||||
using ::iswctype;
|
||||
using ::iswlower;
|
||||
using ::iswspace;
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::towctrans;
|
||||
#endif
|
||||
#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 740)
|
||||
using ::wctrans;
|
||||
#endif
|
||||
using ::iswalpha;
|
||||
using ::iswdigit;
|
||||
using ::iswprint;
|
||||
using ::iswupper;
|
||||
using ::towlower;
|
||||
using ::wctype;
|
||||
using ::iswcntrl;
|
||||
using ::iswgraph;
|
||||
using ::iswpunct;
|
||||
using ::iswxdigit;
|
||||
using ::towupper;
|
||||
}
|
||||
|
||||
#endif // CWCTYPE_HEADER
|
||||
+67
-82
@@ -1,99 +1,84 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"
|
||||
"http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<title>Boost.Compatibilty library</title>
|
||||
|
||||
<title>Boost.Compatibility library</title>
|
||||
</head>
|
||||
<div>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<img src="../../boost.png" alt="boost.png (6897 bytes)" align="middle"
|
||||
width="277" height="86">
|
||||
<hr>
|
||||
<img src="../../boost.png"
|
||||
alt="boost.png (6897 bytes)"
|
||||
align="center"
|
||||
width="277" height="86">
|
||||
|
||||
<h1>Boost.Compatibility library</h1>
|
||||
<hr>
|
||||
<h1>Boost.Compatibilty library</h1>
|
||||
|
||||
<p>This library provides workarounds which allow the other Boost
|
||||
libraries to be used on otherwise non-conforming platforms. We hope that
|
||||
it will be possible to remove this library at some time in the future as
|
||||
standard library suppliers become more conforming.</p>
|
||||
<p>
|
||||
This library provides workarounds which allow the other Boost libraries
|
||||
to be used on otherwise non-conforming platforms. We hope that it will
|
||||
be possible to remove this library at some time in the future as
|
||||
standard library suppliers become more conforming.
|
||||
|
||||
<h2>Missing C++ standard library CXX headers (e.g <cstdio>)
|
||||
workaround</h2>
|
||||
<h2>
|
||||
Missing C++ standard library CXX headers (e.g <cstdio>) workaround</h2>
|
||||
|
||||
<p>The Python script: <tt><a href=
|
||||
"generate_cpp_c_headers.py">generate_cpp_c_headers.py</a></tt> creates a
|
||||
full set of C++ C header files (e.g. <cstdio>) that are missing on
|
||||
some platforms. The header files created by this script reside in the
|
||||
directory <tt><a href=
|
||||
"../../boost/compatibility/cpp_c_headers/">boost/compatibility/cpp_c_headers</a></tt>.
|
||||
To use the header files, add this directory to the include file search
|
||||
path. For example:</p>
|
||||
<pre>
|
||||
<p>
|
||||
The Python script:
|
||||
<tt><a href="generate_cpp_c_headers.py">generate_cpp_c_headers.py</a> </tt>creates a full set of C++ C header files
|
||||
(e.g. <cstdio>) that are missing on some platforms.
|
||||
The header files created by this script reside in the directory <tt><a href="../../boost/compatibility/cpp_c_headers/">boost/compatibility/cpp_c_headers</a></tt>.
|
||||
To use the header files, add this directory to the include
|
||||
file search path. For example:
|
||||
|
||||
<pre>
|
||||
cxx -I/usr/local/boost/boost/compatibility/cpp_c_headers ...
|
||||
</pre>
|
||||
|
||||
<p>Supported platforms are:</p>
|
||||
<p>
|
||||
Supported platforms are:
|
||||
<ul>
|
||||
<li>Compaq Alpha, RedHat 6.2 Linux, Compaq C++ V6.3 (cxx)
|
||||
<li>Compaq Alpha, Tru64 Unix V5.0, Compaq C++ V6.2 (cxx)
|
||||
<li>Silicon Graphics, IRIX 6.5, MIPSpro Compilers: Version 7.3.1.1m (CC)
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>Compaq Alpha, RedHat 6.2 Linux, Compaq C++ V6.3 (cxx)</li>
|
||||
<p>
|
||||
There are more powerful alternatives to using
|
||||
the Boost.Compatibility library CXX headers, e.g.
|
||||
<a href="http://www.stlport.org/">STLport</a> or
|
||||
<a href="http://www-pat.fnal.gov/personal/wb/boost/">ISOCXX</a>.
|
||||
However, in contrast to these alternatives, the
|
||||
<tt>generate_cpp_c_headers.py</tt> script is very light-weight (less
|
||||
than 100 non-comment lines of Python code), much less ambitious,
|
||||
significantly easier to maintain and therefore more suitable as an interim workaround.
|
||||
|
||||
<li>Compaq Alpha, Tru64 Unix V5.0, Compaq C++ V6.2 (cxx)</li>
|
||||
<p>
|
||||
Contributed by Ralf W. Grosse-Kunstleve.
|
||||
|
||||
<li>Silicon Graphics, IRIX 6.5, MIPSpro Compilers: Version 7.3.1.1m
|
||||
(CC)</li>
|
||||
</ul>
|
||||
<h2>
|
||||
Missing C++ standard library <limits> header workaround <a href="../../boost/limits.hpp">boost/limits.hpp</a></h2>
|
||||
<p>Several Boost libraries require the standard library's <limits> header,
|
||||
yet this header is not always supplied by non-conforming compilers and
|
||||
libraries. Header <a href="../../boost/limits.hpp">boost/limits.hpp</a>
|
||||
simply includes the standard library <limits> header if available,
|
||||
otherwise includes <a href="../../boost/detail/limits.hpp">boost/detail/limits.hpp</a>.
|
||||
BOOST_NO_LIMITS from <a href="../config/config.htm">boost/config.hpp</a> is used
|
||||
to determine <limits> availability.
|
||||
<p>Note also the test program <a href="../config/test/limits_test.cpp">limits_test.cpp</a>
|
||||
|
||||
<p>There are more powerful alternatives to using the Boost.Compatibility
|
||||
library CXX headers, e.g. <a href="http://stlport.sourceforge.net">STLport</a>
|
||||
or <a href=
|
||||
"http://www.fnal.gov/docs/working-groups/fpcltf/Pkg/ISOcxx/doc/0ISOcxx.html">
|
||||
ISOCXX</a>. However, in contrast to these alternatives, the
|
||||
<tt>generate_cpp_c_headers.py</tt> script is very light-weight (less than
|
||||
100 non-comment lines of Python code), much less ambitious, significantly
|
||||
easier to maintain and therefore more suitable as an interim
|
||||
workaround.</p>
|
||||
<p>
|
||||
Contributed by Jens Maurer.
|
||||
|
||||
<p>Contributed by Ralf W. Grosse-Kunstleve.</p>
|
||||
<p>
|
||||
|
||||
|
||||
<h2>Missing C++ standard library <limits> header workaround
|
||||
<a href="../../boost/limits.hpp">boost/limits.hpp</a></h2>
|
||||
<hr>
|
||||
© Copyright Ralf W. Grosse-Kunstleve 2001. Permission to copy,
|
||||
use, modify, sell and distribute this document is granted provided this
|
||||
copyright notice appears in all copies. This document is provided "as
|
||||
is" without express or implied warranty, and with no claim as to its
|
||||
suitability for any purpose.
|
||||
|
||||
<p>Several Boost libraries require the standard library's <limits>
|
||||
header, yet this header is not always supplied by non-conforming
|
||||
compilers and libraries. Header <a href=
|
||||
"../../boost/limits.hpp">boost/limits.hpp</a> simply includes the
|
||||
standard library <limits> header if available, otherwise includes
|
||||
<a href=
|
||||
"../../boost/detail/limits.hpp">boost/detail/limits.hpp</a>.
|
||||
BOOST_NO_LIMITS from <a href="../config/config.htm">boost/config.hpp</a>
|
||||
is used to determine <limits> availability.</p>
|
||||
|
||||
<p>Note also the test program <a href=
|
||||
"../config/test/limits_test.cpp">limits_test.cpp</a></p>
|
||||
|
||||
<p>Contributed by Jens Maurer.</p>
|
||||
|
||||
<p> <br clear="all"></p>
|
||||
<hr>
|
||||
|
||||
<p><a href="http://validator.w3.org/check?uri=referer"><img border="0"
|
||||
src="../../doc/images/valid-html401.png" alt=
|
||||
"Valid HTML 4.01 Transitional" height="31" width="88"></a></p>
|
||||
|
||||
<p>Revised
|
||||
<!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan -->01 December, 2006<!--webbot bot="Timestamp" endspan i-checksum="38508" --></p>
|
||||
|
||||
<p><i>© Copyright Ralf W. Grosse-Kunstleve 2001</i></p>
|
||||
|
||||
<p><i>Distributed under the Boost Software License, Version 1.0. (See
|
||||
accompanying file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
|
||||
copy at <a href=
|
||||
"http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>)</i></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<p>
|
||||
Updated: April 16, 2001
|
||||
</div>
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"key": "compatibility",
|
||||
"name": "Compatibility",
|
||||
"authors": [
|
||||
"Ralf Grosse-Kunstleve",
|
||||
"Jens Maurer"
|
||||
],
|
||||
"description": "Help for non-conforming standard libraries.",
|
||||
"category": [
|
||||
"Workarounds"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user