PCRE2 C++ Wrapper 1.2.4
pcre2cpp
Loading...
Searching...
No Matches
Utilities

group with utilities (not for end user to use) More...

Collaboration diagram for Utilities:

Classes

struct  pcre2cpp::utils::pcre2_data< utf >
 Translation container from pcre2 library to pcre2cpp. More...
struct  pcre2cpp::utils::pcre2_data< utf_type::UTF_8 >
 Specialization of Translation container from pcre2 library to pcre2cpp for UTF-8. More...
struct  pcre2cpp::utils::pcre2_data< utf_type::UTF_16 >
 Specialization of Translation container from pcre2 library to pcre2cpp for UTF-16. More...
struct  pcre2cpp::utils::pcre2_data< utf_type::UTF_32 >
 Specialization of Translation container from pcre2 library to pcre2cpp for UTF-32. More...

Macros

#define _PCRE2CPP_STRINGIFY_HELPER(x)
 stringify helper
#define _PCRE2CPP_VERSION_TO_STRING(major, minor, patch)
 converts version numbers to string
#define _PCRE2CPP_VERSION_TO_INT(major, minor, patch)
 converts version number to int
#define _PCRE2CPP_LAST_UPDATE_DATE_HELPER(day, month, year)
 converts last update date to string
#define _PCRE2CPP_HAS_CXX17   __cplusplus >= 201703l
 check if compiler has c++ version greater or equal to c++17
#define _PCRE2CPP_HAS_CXX20   0
 check if compiler has c++ version greater or equal to c++20 and if user enabled c++20 features using PCRE2CPP_ENABLE_CXX20
#define _PCRE2CPP_HAS_EXCEPTIONS   0
 check if exceptions are enabled
#define _PCRE2CPP_HAS_ASSERTS   _PCRE2CPP_HAS_CXX17
 check if asserts are enabled
#define _PCRE2CPP_HAS_UTF8   1
 check if support for UTF-8 is enabled
#define _PCRE2CPP_HAS_UTF16   1
 check if support for UTF-16 is enabled
#define _PCRE2CPP_HAS_UTF32   1
 check if support for UTF-32 is enabled
#define _PCRE2CPP_CONSTEXPR17
 constexpr for c++17 and higher
#define _PCRE2CPP_CONSTEXPR20
 constexpr keyword for c++20 and higher
#define _PCRE2CPP_REQUIRES(condition)
 requires keyword for c++20 and higher
#define _PCRE2CPP_MESSAGE(MESSAGE)
 compiler message
#define _PCRE2CPP_WARNING(MESSAGE)
 compiler warning
#define _PCRE2CPP_ERROR(MESSAGE)
 compiler error
#define _PCRE2CPP_STRINGIFY_HELPER(x)
 stringify helper
#define _PCRE2CPP_VERSION_TO_STRING(major, minor, patch)
 converts version numbers to string
#define _PCRE2CPP_VERSION_TO_INT(major, minor, patch)
 converts version number to int
#define _PCRE2CPP_LAST_UPDATE_DATE_HELPER(day, month, year)
 converts last update date to string
#define _PCRE2CPP_HAS_CXX17   __cplusplus >= 201703l
 check if compiler has c++ version greater or equal to c++17
#define _PCRE2CPP_HAS_CXX20   0
 check if compiler has c++ version greater or equal to c++20 and if user enabled c++20 features using PCRE2CPP_ENABLE_CXX20
#define _PCRE2CPP_HAS_EXCEPTIONS   0
 check if exceptions are enabled
#define _PCRE2CPP_HAS_ASSERTS   _PCRE2CPP_HAS_CXX17
 check if asserts are enabled
#define _PCRE2CPP_HAS_UTF8   1
 check if support for UTF-8 is enabled
#define _PCRE2CPP_HAS_UTF16   1
 check if support for UTF-16 is enabled
#define _PCRE2CPP_HAS_UTF32   1
 check if support for UTF-32 is enabled
#define _PCRE2CPP_CONSTEXPR17
 constexpr for c++17 and higher
#define _PCRE2CPP_CONSTEXPR20
 constexpr keyword for c++20 and higher
#define _PCRE2CPP_REQUIRES(condition)
 requires keyword for c++20 and higher
#define _PCRE2CPP_MESSAGE(MESSAGE)
 compiler message
#define _PCRE2CPP_WARNING(MESSAGE)
 compiler warning
#define _PCRE2CPP_ERROR(MESSAGE)
 compiler error
#define pcre2cpp_assert(expression, ...)
 pcre2cpp assert

Detailed Description

group with utilities (not for end user to use)

Macro Definition Documentation

◆ _PCRE2CPP_CONSTEXPR17 [1/2]

#define _PCRE2CPP_CONSTEXPR17

constexpr for c++17 and higher

◆ _PCRE2CPP_CONSTEXPR17 [2/2]

#define _PCRE2CPP_CONSTEXPR17

constexpr for c++17 and higher

◆ _PCRE2CPP_CONSTEXPR20 [1/2]

#define _PCRE2CPP_CONSTEXPR20

constexpr keyword for c++20 and higher

◆ _PCRE2CPP_CONSTEXPR20 [2/2]

#define _PCRE2CPP_CONSTEXPR20

constexpr keyword for c++20 and higher

◆ _PCRE2CPP_ERROR [1/2]

#define _PCRE2CPP_ERROR ( MESSAGE)
Value:
_MSTD_ERROR(MESSAGE)

compiler error

◆ _PCRE2CPP_ERROR [2/2]

#define _PCRE2CPP_ERROR ( MESSAGE)
Value:
_MSTD_ERROR(MESSAGE)

compiler error

◆ _PCRE2CPP_HAS_ASSERTS [1/2]

#define _PCRE2CPP_HAS_ASSERTS   _PCRE2CPP_HAS_CXX17

check if asserts are enabled

◆ _PCRE2CPP_HAS_ASSERTS [2/2]

#define _PCRE2CPP_HAS_ASSERTS   _PCRE2CPP_HAS_CXX17

check if asserts are enabled

◆ _PCRE2CPP_HAS_CXX17 [1/2]

#define _PCRE2CPP_HAS_CXX17   __cplusplus >= 201703l

check if compiler has c++ version greater or equal to c++17

◆ _PCRE2CPP_HAS_CXX17 [2/2]

#define _PCRE2CPP_HAS_CXX17   __cplusplus >= 201703l

check if compiler has c++ version greater or equal to c++17

◆ _PCRE2CPP_HAS_CXX20 [1/2]

#define _PCRE2CPP_HAS_CXX20   0

check if compiler has c++ version greater or equal to c++20 and if user enabled c++20 features using PCRE2CPP_ENABLE_CXX20

◆ _PCRE2CPP_HAS_CXX20 [2/2]

#define _PCRE2CPP_HAS_CXX20   0

check if compiler has c++ version greater or equal to c++20 and if user enabled c++20 features using PCRE2CPP_ENABLE_CXX20

◆ _PCRE2CPP_HAS_EXCEPTIONS [1/2]

#define _PCRE2CPP_HAS_EXCEPTIONS   0

check if exceptions are enabled

◆ _PCRE2CPP_HAS_EXCEPTIONS [2/2]

#define _PCRE2CPP_HAS_EXCEPTIONS   0

check if exceptions are enabled

◆ _PCRE2CPP_HAS_UTF16 [1/2]

#define _PCRE2CPP_HAS_UTF16   1

check if support for UTF-16 is enabled

◆ _PCRE2CPP_HAS_UTF16 [2/2]

#define _PCRE2CPP_HAS_UTF16   1

check if support for UTF-16 is enabled

◆ _PCRE2CPP_HAS_UTF32 [1/2]

#define _PCRE2CPP_HAS_UTF32   1

check if support for UTF-32 is enabled

◆ _PCRE2CPP_HAS_UTF32 [2/2]

#define _PCRE2CPP_HAS_UTF32   1

check if support for UTF-32 is enabled

◆ _PCRE2CPP_HAS_UTF8 [1/2]

#define _PCRE2CPP_HAS_UTF8   1

check if support for UTF-8 is enabled

◆ _PCRE2CPP_HAS_UTF8 [2/2]

#define _PCRE2CPP_HAS_UTF8   1

check if support for UTF-8 is enabled

◆ _PCRE2CPP_LAST_UPDATE_DATE_HELPER [1/2]

#define _PCRE2CPP_LAST_UPDATE_DATE_HELPER ( day,
month,
year )
Value:
#define _PCRE2CPP_STRINGIFY_HELPER(x)
stringify helper
Definition config.hpp:61

converts last update date to string

◆ _PCRE2CPP_LAST_UPDATE_DATE_HELPER [2/2]

#define _PCRE2CPP_LAST_UPDATE_DATE_HELPER ( day,
month,
year )
Value:

converts last update date to string

◆ _PCRE2CPP_MESSAGE [1/2]

#define _PCRE2CPP_MESSAGE ( MESSAGE)
Value:
_MSTD_MESSAGE(MESSAGE)

compiler message

◆ _PCRE2CPP_MESSAGE [2/2]

#define _PCRE2CPP_MESSAGE ( MESSAGE)
Value:
_MSTD_MESSAGE(MESSAGE)

compiler message

◆ _PCRE2CPP_REQUIRES [1/2]

#define _PCRE2CPP_REQUIRES ( condition)

requires keyword for c++20 and higher

◆ _PCRE2CPP_REQUIRES [2/2]

#define _PCRE2CPP_REQUIRES ( condition)

requires keyword for c++20 and higher

◆ _PCRE2CPP_STRINGIFY_HELPER [1/2]

#define _PCRE2CPP_STRINGIFY_HELPER ( x)
Value:
#x

stringify helper

◆ _PCRE2CPP_STRINGIFY_HELPER [2/2]

#define _PCRE2CPP_STRINGIFY_HELPER ( x)
Value:
#x

stringify helper

◆ _PCRE2CPP_VERSION_TO_INT [1/2]

#define _PCRE2CPP_VERSION_TO_INT ( major,
minor,
patch )
Value:
(major * 100 + minor * 10 + patch)

converts version number to int

◆ _PCRE2CPP_VERSION_TO_INT [2/2]

#define _PCRE2CPP_VERSION_TO_INT ( major,
minor,
patch )
Value:
(major * 100 + minor * 10 + patch)

converts version number to int

◆ _PCRE2CPP_VERSION_TO_STRING [1/2]

#define _PCRE2CPP_VERSION_TO_STRING ( major,
minor,
patch )
Value:

converts version numbers to string

◆ _PCRE2CPP_VERSION_TO_STRING [2/2]

#define _PCRE2CPP_VERSION_TO_STRING ( major,
minor,
patch )
Value:

converts version numbers to string

◆ _PCRE2CPP_WARNING [1/2]

#define _PCRE2CPP_WARNING ( MESSAGE)
Value:
_MSTD_WARNING(MESSAGE)

compiler warning

◆ _PCRE2CPP_WARNING [2/2]

#define _PCRE2CPP_WARNING ( MESSAGE)
Value:
_MSTD_WARNING(MESSAGE)

compiler warning

◆ pcre2cpp_assert

#define pcre2cpp_assert ( expression,
... )
Value:
MSTD_LOG_ASSERT_BASE(expression, [](const std::string_view) -> void {} __VA_OPT__(, ) __VA_ARGS__)

pcre2cpp assert