Skip to content

Commit

Permalink
chore: add compiler informations on README
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtsHsu committed Feb 1, 2024
1 parent abaf34d commit 67ffcc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Operate strings in constant context.

NOTE: Your compiler must support C++20.

For example:

```cpp
Expand All @@ -26,3 +28,5 @@ static_assert(newmsg == "HELL WORD?"_cs);
```
Check the [document](https://conststr.docs.nihil.cc/) or [tests](https://github.com/NichtsHsu/conststr/tree/master/tests) to learn more.
All [tests](https://github.com/NichtsHsu/conststr/tree/master/tests) pass under GCC-12, clang-16 and MSVC(newest).

0 comments on commit 67ffcc6

Please sign in to comment.