PCRE2 C++ Wrapper 1.3.0
pcre2cpp
Loading...
Searching...
No Matches
types.hpp
1/*
2 * pcre2cpp - PCRE2 cpp wrapper
3 *
4 * Licensed under the BSD 3-Clause License with Attribution Requirement.
5 * See the LICENSE file for details: https://github.com/MAIPA01/pcre2cpp/blob/main/LICENSE
6 *
7 * Copyright (c) 2025, Patryk Antosik (MAIPA01)
8 *
9 * PCRE2 library included in this project:
10 * Copyright (c) 2016-2024, University of Cambridge.
11 *
12 * See the LICENSE_PCRE2 file for details: https://github.com/MAIPA01/pcre2cpp/blob/main/LICENSE_PCRE2
13 */
14
15#pragma once
16#ifndef _PCRE2CPP_TYPES_HPP_
17 #define _PCRE2CPP_TYPES_HPP_
18
19 #include <pcre2cpp/config.hpp>
20
22_PCRE2CPP_ERROR("This is only available for c++17 and greater!");
23 #else
24
25 #include <pcre2cpp/libs.hpp>
26
27namespace pcre2cpp {
28 enum class utf_type : uint8_t;
29
30 namespace utils {
31 template<utf_type utf>
32 struct pcre2_data;
33 }
34
36 template<utf_type utf>
38 template<utf_type utf>
40 template<utf_type utf>
42 #endif
43
44 template<utf_type utf>
45 struct basic_match_value;
46 struct sub_match_value;
47 template<utf_type utf>
49 template<utf_type utf>
50 class basic_regex;
51} // namespace pcre2cpp
52 #endif
53#endif
Basic container to result data of match function.
Definition match_result.hpp:84
base pcre2cpp exception class
Definition exceptions.hpp:134
Basic PCRE2 Regex container.
Definition regex.hpp:40
utf_type
Enum with supported utf types.
Definition pcre2_data.hpp:31
#define _PCRE2CPP_HAS_CXX17
check if compiler has c++ version greater or equal to c++17
Definition config.hpp:133
#define _PCRE2CPP_HAS_EXCEPTIONS
check if exceptions are enabled
Definition config.hpp:171
Definition types.hpp:30
Match value container.
Definition match_result.hpp:39
Sub match value container.
Definition match_result.hpp:69
Translation container from pcre2 library to pcre2cpp.
Definition pcre2_data.hpp:68