Skip to content

Commit 1975ab9

Browse files
author
jopublay
committed
Document support for C++11/C++14
1 parent 72a4051 commit 1975ab9

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

mainpage.dox

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @mainpage
33
*
4-
* \image html presentation.png "Compile-time polymorphic string literals in C++17/C++20"
4+
* \image html presentation.png "Compile-time polymorphic string literals in Modern C++"
55
*
66
* @section utf-42 🌐 utf-42
77
*
@@ -50,6 +50,8 @@
5050
* - ✅ Header-only
5151
* - ✅ C++20 compliant
5252
* - ✅ C++17 compliant (not all features)
53+
* - ✅ C++14 compliant (not all features, uses custom wrapper to replace `std::basic_string_view`)
54+
* - ✅ C++11 compliant (not all features, uses custom wrapper to replace `std::basic_string_view`)
5355
*
5456
* ---
5557
*
@@ -76,6 +78,11 @@
7678
*
7779
* @section requirements 📦 Requirements
7880
*
81+
* - C++11
82+
* - Uses SFINAE to implement the templates
83+
* - Some features of the custom string view wrapper can not be made constexpr
84+
* - C++14
85+
* - Uses SFINAE to implement the templates
7986
* - C++17 or later
8087
* - if constexpr
8188
* - C++20 or later (if available defines extra features):

readme.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Compile-time polymorphic string literals in C++17/C++20](./resources/presentation.png)
1+
![Compile-time polymorphic string literals in Modern C++](./resources/presentation.png)
22

33
# 🌐 utf42
44

@@ -45,6 +45,8 @@ Unicode transcoding.
4545
- ✅ Header-only
4646
- ✅ C++20 compliant
4747
- ✅ C++17 compliant (not all features)
48+
- ✅ C++14 compliant (not all features, uses custom wrapper to replace `std::basic_string_view`)
49+
- ✅ C++11 compliant (not all features, uses custom wrapper to replace `std::basic_string_view`)
4850

4951
---
5052

@@ -71,14 +73,19 @@ U"hello"
7173

7274
## 📦 Requirements
7375

74-
- C++17 or later
76+
- C++11
77+
- Uses SFINAE to implement the templates
78+
- Some features of the custom string view wrapper can not be made constexpr
79+
- C++14
80+
- Uses SFINAE to implement the templates
81+
- C++17 or later
7582
- if constexpr
76-
- C++20 or later (if available defines extra features):
83+
- C++20 or later (if available defines extra features):
7784
- char8_t
7885
- consteval
7986
- Concepts
80-
- Recommended UTF-8 encoded source files
81-
- A compiler with proper Unicode literal support (GCC, Clang, MSVC)
87+
- Recommended UTF-8 encoded source files
88+
- A compiler with proper Unicode literal support (GCC, Clang, MSVC)
8289

8390
---
8491

0 commit comments

Comments
 (0)