Skip to content

Commit 5375b84

Browse files
authored
Update README.md
1 parent a295007 commit 5375b84

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
# charimpl
1+
# charimpl
2+
> Compile-time header-only `char` implementation checking for **C++03**/**11**/**14**/**17**/**20**
3+
4+
[![license][badge.license]][license]
5+
[![release][badge.release]][release]
6+
[![godbolt][badge.godbolt]][godbolt]
7+
8+
[badge.license]: https://img.shields.io/badge/license-mit-blue.svg
9+
[license]: https://github.com/igozdev/charimpl/blob/main/LICENSE
10+
11+
[badge.release]: https://img.shields.io/github/release/igozdev/charimpl.svg
12+
[release]: https://github.com/igozdev/charimpl/releases/latest
13+
14+
[badge.godbolt]: https://img.shields.io/badge/try_it-on_godbolt-indigo.svg
15+
[godbolt]: https://godbolt.org/z/rGqM1YMsd
16+
17+
# Example
18+
```cpp
19+
#include <iostream>
20+
#include <charimpl/charimpl.hpp>
21+
22+
int main()
23+
{
24+
std::cout << std::boolalpha
25+
<< charimpl::is_ascii() << std::endl
26+
<< charimpl::is_ebcdic() << std::endl
27+
<< charimpl::is_ebcdic037() << std::endl
28+
<< charimpl::is_ebcdic1047() << std::endl;
29+
}
30+
```

0 commit comments

Comments
 (0)