Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
igozdev authored Aug 5, 2023
1 parent a295007 commit 5375b84
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
# charimpl
# charimpl
> Compile-time header-only `char` implementation checking for **C++03**/**11**/**14**/**17**/**20**
[![license][badge.license]][license]
[![release][badge.release]][release]
[![godbolt][badge.godbolt]][godbolt]

[badge.license]: https://img.shields.io/badge/license-mit-blue.svg
[license]: https://github.com/igozdev/charimpl/blob/main/LICENSE

[badge.release]: https://img.shields.io/github/release/igozdev/charimpl.svg
[release]: https://github.com/igozdev/charimpl/releases/latest

[badge.godbolt]: https://img.shields.io/badge/try_it-on_godbolt-indigo.svg
[godbolt]: https://godbolt.org/z/rGqM1YMsd

# Example
```cpp
#include <iostream>
#include <charimpl/charimpl.hpp>

int main()
{
std::cout << std::boolalpha
<< charimpl::is_ascii() << std::endl
<< charimpl::is_ebcdic() << std::endl
<< charimpl::is_ebcdic037() << std::endl
<< charimpl::is_ebcdic1047() << std::endl;
}
```

0 comments on commit 5375b84

Please sign in to comment.