Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaraslaut committed Aug 3, 2024
1 parent 8eaa61c commit 2909d53
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ void EnumToString() {
Calculate padding at compile time and enforce zero padding via concepts
``` c++
struct struct_with_padding {
char a;
double c;
Expand All @@ -106,7 +104,6 @@ void PaddingCheck() {
static_assert(form::no_padding<struct_no_padding>);
}
```

## Create variant of all types inside the namespace
Expand Down Expand Up @@ -183,14 +180,12 @@ Only YAML supported at the moment
``` c++
int main() {
int fromYAML() {
Config c;
auto yaml_input = form::format_yaml(c);
auto from_yaml = form::from_yaml<Config>(yaml_input);
return form::compare(c,from_yaml);
}
```
Expand Down Expand Up @@ -232,7 +227,6 @@ int foo(T) {
return 1;
}
foo(std::complex<float>{1,1}); //1
foo(std::complex<float>{1.0f,1.0f}); //1
```

0 comments on commit 2909d53

Please sign in to comment.