diff options
| author | Amlal <amlal@nekernel.org> | 2025-05-09 13:18:53 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-05-09 13:18:53 +0200 |
| commit | 03c81e0d2d37b0ad4b67dbe468851cf2b3f13e2e (patch) | |
| tree | c9efcf567cb2194478c67365d3e8bbc535bdb76c /examples | |
| parent | dfb1f5fb559e40f70667b35bcf5be0e07356775c (diff) | |
feat(equiv): improve example for equiv.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/equiv/equiv.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/equiv/equiv.cc b/examples/equiv/equiv.cc index 7375512..01674c6 100644 --- a/examples/equiv/equiv.cc +++ b/examples/equiv/equiv.cc @@ -10,9 +10,10 @@ /* finally test it */ int main(int argc, char** argv) { - std::cout << std::boolalpha << astdx::is_same<bool, int>::value << std::endl; - std::cout << std::boolalpha << astdx::is_same<bool, bool>::value << std::endl; - std::cout << std::boolalpha << astdx::is_same<int, int>::value << std::endl; + std::cout << std::boolalpha; + std::cout << astdx::is_same<bool, int>::value << std::endl; + std::cout << astdx::is_same<bool, bool>::value << std::endl; + std::cout << astdx::is_same<int, int>::value << std::endl; return 0; } |
