From a6d4fe7e372e4a3b22f6faae1322cf40a701898a Mon Sep 17 00:00:00 2001 From: Steve Downey Date: Tue, 17 Sep 2024 10:00:48 -0400 Subject: [PATCH 1/3] Rename all paths to lower case Git marks all as renames, so history is connected. --- .../{Beman/Optional26 => beman/optional26}/detail/iterator.hpp | 0 .../optional26}/detail/stl_interfaces/config.hpp | 0 .../Optional26 => beman/optional26}/detail/stl_interfaces/fwd.hpp | 0 .../optional26}/detail/stl_interfaces/iterator_interface.hpp | 0 include/{Beman/Optional26 => beman/optional26}/optional.hpp | 0 src/{Beman/Optional26 => beman/optional26}/CMakeLists.txt | 0 src/{Beman/Optional26 => beman/optional26}/detail/iterator.cpp | 0 src/{Beman/Optional26 => beman/optional26}/optional.cpp | 0 src/{Beman/Optional26 => beman/optional26}/tests/CMakeLists.txt | 0 .../Optional26 => beman/optional26}/tests/detail/iterator.t.cpp | 0 src/{Beman/Optional26 => beman/optional26}/tests/optional.t.cpp | 0 .../optional26}/tests/optional_constexpr.t.cpp | 0 .../Optional26 => beman/optional26}/tests/optional_monadic.t.cpp | 0 .../optional26}/tests/optional_range_support.t.cpp | 0 .../Optional26 => beman/optional26}/tests/optional_ref.t.cpp | 0 .../optional26}/tests/optional_ref_monadic.t.cpp | 0 src/{Beman/Optional26 => beman/optional26}/tests/test_types.cpp | 0 src/{Beman/Optional26 => beman/optional26}/tests/test_types.hpp | 0 .../Optional26 => beman/optional26}/tests/test_utilities.cpp | 0 .../Optional26 => beman/optional26}/tests/test_utilities.hpp | 0 20 files changed, 0 insertions(+), 0 deletions(-) rename include/{Beman/Optional26 => beman/optional26}/detail/iterator.hpp (100%) rename include/{Beman/Optional26 => beman/optional26}/detail/stl_interfaces/config.hpp (100%) rename include/{Beman/Optional26 => beman/optional26}/detail/stl_interfaces/fwd.hpp (100%) rename include/{Beman/Optional26 => beman/optional26}/detail/stl_interfaces/iterator_interface.hpp (100%) rename include/{Beman/Optional26 => beman/optional26}/optional.hpp (100%) rename src/{Beman/Optional26 => beman/optional26}/CMakeLists.txt (100%) rename src/{Beman/Optional26 => beman/optional26}/detail/iterator.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/optional.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/CMakeLists.txt (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/detail/iterator.t.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/optional.t.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/optional_constexpr.t.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/optional_monadic.t.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/optional_range_support.t.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/optional_ref.t.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/optional_ref_monadic.t.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/test_types.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/test_types.hpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/test_utilities.cpp (100%) rename src/{Beman/Optional26 => beman/optional26}/tests/test_utilities.hpp (100%) diff --git a/include/Beman/Optional26/detail/iterator.hpp b/include/beman/optional26/detail/iterator.hpp similarity index 100% rename from include/Beman/Optional26/detail/iterator.hpp rename to include/beman/optional26/detail/iterator.hpp diff --git a/include/Beman/Optional26/detail/stl_interfaces/config.hpp b/include/beman/optional26/detail/stl_interfaces/config.hpp similarity index 100% rename from include/Beman/Optional26/detail/stl_interfaces/config.hpp rename to include/beman/optional26/detail/stl_interfaces/config.hpp diff --git a/include/Beman/Optional26/detail/stl_interfaces/fwd.hpp b/include/beman/optional26/detail/stl_interfaces/fwd.hpp similarity index 100% rename from include/Beman/Optional26/detail/stl_interfaces/fwd.hpp rename to include/beman/optional26/detail/stl_interfaces/fwd.hpp diff --git a/include/Beman/Optional26/detail/stl_interfaces/iterator_interface.hpp b/include/beman/optional26/detail/stl_interfaces/iterator_interface.hpp similarity index 100% rename from include/Beman/Optional26/detail/stl_interfaces/iterator_interface.hpp rename to include/beman/optional26/detail/stl_interfaces/iterator_interface.hpp diff --git a/include/Beman/Optional26/optional.hpp b/include/beman/optional26/optional.hpp similarity index 100% rename from include/Beman/Optional26/optional.hpp rename to include/beman/optional26/optional.hpp diff --git a/src/Beman/Optional26/CMakeLists.txt b/src/beman/optional26/CMakeLists.txt similarity index 100% rename from src/Beman/Optional26/CMakeLists.txt rename to src/beman/optional26/CMakeLists.txt diff --git a/src/Beman/Optional26/detail/iterator.cpp b/src/beman/optional26/detail/iterator.cpp similarity index 100% rename from src/Beman/Optional26/detail/iterator.cpp rename to src/beman/optional26/detail/iterator.cpp diff --git a/src/Beman/Optional26/optional.cpp b/src/beman/optional26/optional.cpp similarity index 100% rename from src/Beman/Optional26/optional.cpp rename to src/beman/optional26/optional.cpp diff --git a/src/Beman/Optional26/tests/CMakeLists.txt b/src/beman/optional26/tests/CMakeLists.txt similarity index 100% rename from src/Beman/Optional26/tests/CMakeLists.txt rename to src/beman/optional26/tests/CMakeLists.txt diff --git a/src/Beman/Optional26/tests/detail/iterator.t.cpp b/src/beman/optional26/tests/detail/iterator.t.cpp similarity index 100% rename from src/Beman/Optional26/tests/detail/iterator.t.cpp rename to src/beman/optional26/tests/detail/iterator.t.cpp diff --git a/src/Beman/Optional26/tests/optional.t.cpp b/src/beman/optional26/tests/optional.t.cpp similarity index 100% rename from src/Beman/Optional26/tests/optional.t.cpp rename to src/beman/optional26/tests/optional.t.cpp diff --git a/src/Beman/Optional26/tests/optional_constexpr.t.cpp b/src/beman/optional26/tests/optional_constexpr.t.cpp similarity index 100% rename from src/Beman/Optional26/tests/optional_constexpr.t.cpp rename to src/beman/optional26/tests/optional_constexpr.t.cpp diff --git a/src/Beman/Optional26/tests/optional_monadic.t.cpp b/src/beman/optional26/tests/optional_monadic.t.cpp similarity index 100% rename from src/Beman/Optional26/tests/optional_monadic.t.cpp rename to src/beman/optional26/tests/optional_monadic.t.cpp diff --git a/src/Beman/Optional26/tests/optional_range_support.t.cpp b/src/beman/optional26/tests/optional_range_support.t.cpp similarity index 100% rename from src/Beman/Optional26/tests/optional_range_support.t.cpp rename to src/beman/optional26/tests/optional_range_support.t.cpp diff --git a/src/Beman/Optional26/tests/optional_ref.t.cpp b/src/beman/optional26/tests/optional_ref.t.cpp similarity index 100% rename from src/Beman/Optional26/tests/optional_ref.t.cpp rename to src/beman/optional26/tests/optional_ref.t.cpp diff --git a/src/Beman/Optional26/tests/optional_ref_monadic.t.cpp b/src/beman/optional26/tests/optional_ref_monadic.t.cpp similarity index 100% rename from src/Beman/Optional26/tests/optional_ref_monadic.t.cpp rename to src/beman/optional26/tests/optional_ref_monadic.t.cpp diff --git a/src/Beman/Optional26/tests/test_types.cpp b/src/beman/optional26/tests/test_types.cpp similarity index 100% rename from src/Beman/Optional26/tests/test_types.cpp rename to src/beman/optional26/tests/test_types.cpp diff --git a/src/Beman/Optional26/tests/test_types.hpp b/src/beman/optional26/tests/test_types.hpp similarity index 100% rename from src/Beman/Optional26/tests/test_types.hpp rename to src/beman/optional26/tests/test_types.hpp diff --git a/src/Beman/Optional26/tests/test_utilities.cpp b/src/beman/optional26/tests/test_utilities.cpp similarity index 100% rename from src/Beman/Optional26/tests/test_utilities.cpp rename to src/beman/optional26/tests/test_utilities.cpp diff --git a/src/Beman/Optional26/tests/test_utilities.hpp b/src/beman/optional26/tests/test_utilities.hpp similarity index 100% rename from src/Beman/Optional26/tests/test_utilities.hpp rename to src/beman/optional26/tests/test_utilities.hpp From 0225849581dbf24f7aeb4225467c44a0adfa7f24 Mon Sep 17 00:00:00 2001 From: Steve Downey Date: Tue, 17 Sep 2024 10:20:20 -0400 Subject: [PATCH 2/3] Fix compilation errors --- CITATION.cff | 2 +- CMakeLists.txt | 2 +- examples/concept_checks.cpp | 2 +- examples/optional_ref.cpp | 2 +- examples/pythagorean_triples.cpp | 2 +- examples/range_loop.cpp | 2 +- examples/sample.cpp | 2 +- examples/std_vs_beman.cpp | 2 +- include/beman/optional26/detail/iterator.hpp | 4 ++-- include/beman/optional26/detail/stl_interfaces/fwd.hpp | 4 ++-- .../detail/stl_interfaces/iterator_interface.hpp | 4 ++-- include/beman/optional26/optional.hpp | 4 ++-- src/beman/optional26/detail/iterator.cpp | 4 ++-- src/beman/optional26/optional.cpp | 4 ++-- src/beman/optional26/tests/optional.t.cpp | 8 ++++---- src/beman/optional26/tests/optional_constexpr.t.cpp | 8 ++++---- src/beman/optional26/tests/optional_monadic.t.cpp | 4 ++-- src/beman/optional26/tests/optional_range_support.t.cpp | 8 ++++---- src/beman/optional26/tests/optional_ref.t.cpp | 6 +++--- src/beman/optional26/tests/optional_ref_monadic.t.cpp | 4 ++-- src/beman/optional26/tests/test_types.cpp | 4 ++-- src/beman/optional26/tests/test_utilities.cpp | 4 ++-- 22 files changed, 43 insertions(+), 43 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index a75cc227..e9c4f179 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,4 +1,4 @@ cff-version: 1.0.0 message: "If you use this software, please cite it as below." -title: "Beman.Optional26" +title: "beman.optional26" url: "https://github.com/beman-project/Optional26" diff --git a/CMakeLists.txt b/CMakeLists.txt index 490841d3..10166003 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ if(BUILD_TESTING) FetchContent_MakeAvailable(googletest) endif() -add_subdirectory(src/Beman/Optional26) +add_subdirectory(src/beman/optional26) add_subdirectory(examples) include(GNUInstallDirs) diff --git a/examples/concept_checks.cpp b/examples/concept_checks.cpp index 51eed4b0..45025f77 100644 --- a/examples/concept_checks.cpp +++ b/examples/concept_checks.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include -#include +#include #include diff --git a/examples/optional_ref.cpp b/examples/optional_ref.cpp index e29d2de4..03aba83b 100644 --- a/examples/optional_ref.cpp +++ b/examples/optional_ref.cpp @@ -1,7 +1,7 @@ // examples/optional_ref.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include #include diff --git a/examples/pythagorean_triples.cpp b/examples/pythagorean_triples.cpp index b8987652..e3b00aab 100644 --- a/examples/pythagorean_triples.cpp +++ b/examples/pythagorean_triples.cpp @@ -1,7 +1,7 @@ // examples/pythagorean_triples.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include #include #include diff --git a/examples/range_loop.cpp b/examples/range_loop.cpp index 5b4c2445..c7dcc4e3 100644 --- a/examples/range_loop.cpp +++ b/examples/range_loop.cpp @@ -1,7 +1,7 @@ // examples/range_loop.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include #include int main() { diff --git a/examples/sample.cpp b/examples/sample.cpp index e0766288..e57ab8f8 100644 --- a/examples/sample.cpp +++ b/examples/sample.cpp @@ -1,7 +1,7 @@ // examples/sample.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include #include int main() { diff --git a/examples/std_vs_beman.cpp b/examples/std_vs_beman.cpp index 2485ea62..69fab96a 100644 --- a/examples/std_vs_beman.cpp +++ b/examples/std_vs_beman.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include -#include +#include #include #include diff --git a/include/beman/optional26/detail/iterator.hpp b/include/beman/optional26/detail/iterator.hpp index 98ac581e..9f31fa42 100644 --- a/include/beman/optional26/detail/iterator.hpp +++ b/include/beman/optional26/detail/iterator.hpp @@ -1,10 +1,10 @@ -// include/Beman/Optional26/detail/iterator.hpp -*-C++-*- +// include/beman/optional26/detail/iterator.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef BEMAN_OPTIONAL26_DETAIL_ITERATOR_HPP #define BEMAN_OPTIONAL26_DETAIL_ITERATOR_HPP -#include +#include #include #include diff --git a/include/beman/optional26/detail/stl_interfaces/fwd.hpp b/include/beman/optional26/detail/stl_interfaces/fwd.hpp index da0f1ab5..ceb7a1ec 100644 --- a/include/beman/optional26/detail/stl_interfaces/fwd.hpp +++ b/include/beman/optional26/detail/stl_interfaces/fwd.hpp @@ -1,4 +1,4 @@ -// include/Beman/Optional26/detail/stl_interfaces/fwd.hpp -*-C++-*- +// include/beman/optional26/detail/stl_interfaces/fwd.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Copyright (C) 2019 T. Zachary Laine @@ -9,7 +9,7 @@ #ifndef BEMAN_OPTIONAL26_DETAIL_STL_INTERFACES_FWD_HPP #define BEMAN_OPTIONAL26_DETAIL_STL_INTERFACES_FWD_HPP -#include +#include #if BEMAN_OPTIONAL26_DETAIL_STL_INTERFACES_USE_CONCEPTS #include diff --git a/include/beman/optional26/detail/stl_interfaces/iterator_interface.hpp b/include/beman/optional26/detail/stl_interfaces/iterator_interface.hpp index 534dc566..a0d97bd5 100644 --- a/include/beman/optional26/detail/stl_interfaces/iterator_interface.hpp +++ b/include/beman/optional26/detail/stl_interfaces/iterator_interface.hpp @@ -1,4 +1,4 @@ -// include/Beman/Optional26/detail/stl_interfaces/iterator_interface.hpp -*-C++-*- +// include/beman/optional26/detail/stl_interfaces/iterator_interface.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Copyright (C) 2019 T. Zachary Laine @@ -9,7 +9,7 @@ #ifndef BEMAN_OPTIONAL26_DETAIL_STL_INTERFACES_ITERATOR_INTERFACE_HPP #define BEMAN_OPTIONAL26_DETAIL_STL_INTERFACES_ITERATOR_INTERFACE_HPP -#include +#include #include #include diff --git a/include/beman/optional26/optional.hpp b/include/beman/optional26/optional.hpp index 6b7f4414..15e4975d 100644 --- a/include/beman/optional26/optional.hpp +++ b/include/beman/optional26/optional.hpp @@ -1,4 +1,4 @@ -// include/Beman/Optional26/optional.hpp -*-C++-*- +// include/beman/optional26/optional.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef BEMAN_OPTIONAL26_OPTIONAL_HPP @@ -175,7 +175,7 @@ namespace std { #include #include -#include +#include namespace beman::optional26 { diff --git a/src/beman/optional26/detail/iterator.cpp b/src/beman/optional26/detail/iterator.cpp index c43fa9e0..c01fe5da 100644 --- a/src/beman/optional26/detail/iterator.cpp +++ b/src/beman/optional26/detail/iterator.cpp @@ -1,4 +1,4 @@ -// src/Beman/Optional26/detail/iterator.cpp -*-C++-*- +// src/beman/optional26/detail/iterator.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include diff --git a/src/beman/optional26/optional.cpp b/src/beman/optional26/optional.cpp index d16a7a40..f5b151c3 100644 --- a/src/beman/optional26/optional.cpp +++ b/src/beman/optional26/optional.cpp @@ -1,4 +1,4 @@ -// src/Beman/Optional26/optional.cpp -*-C++-*- +// src/beman/optional26/optional.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include diff --git a/src/beman/optional26/tests/optional.t.cpp b/src/beman/optional26/tests/optional.t.cpp index 58a310ba..e8a4dc01 100644 --- a/src/beman/optional26/tests/optional.t.cpp +++ b/src/beman/optional26/tests/optional.t.cpp @@ -1,11 +1,11 @@ -// src/Beman/Optional26/tests/optional.t.cpp -*-C++-*- +// src/beman/optional26/tests/optional.t.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include -#include // test 2nd include OK +#include // test 2nd include OK -#include +#include #include #include diff --git a/src/beman/optional26/tests/optional_constexpr.t.cpp b/src/beman/optional26/tests/optional_constexpr.t.cpp index 4bfe786e..f4842604 100644 --- a/src/beman/optional26/tests/optional_constexpr.t.cpp +++ b/src/beman/optional26/tests/optional_constexpr.t.cpp @@ -1,9 +1,9 @@ -// src/Beman/Optional26/tests/optional_constexpr.t.cpp -*-C++-*- +// src/beman/optional26/tests/optional_constexpr.t.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/beman/optional26/tests/optional_monadic.t.cpp b/src/beman/optional26/tests/optional_monadic.t.cpp index 71ff26d8..f9da55e3 100644 --- a/src/beman/optional26/tests/optional_monadic.t.cpp +++ b/src/beman/optional26/tests/optional_monadic.t.cpp @@ -1,7 +1,7 @@ -// src/Beman/Optional26/tests/optional_monadic.t.cpp -*-C++-*- +// src/beman/optional26/tests/optional_monadic.t.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include #include diff --git a/src/beman/optional26/tests/optional_range_support.t.cpp b/src/beman/optional26/tests/optional_range_support.t.cpp index dbc282a7..8575060f 100644 --- a/src/beman/optional26/tests/optional_range_support.t.cpp +++ b/src/beman/optional26/tests/optional_range_support.t.cpp @@ -1,4 +1,4 @@ -// src/Beman/Optional26/tests/optional_range_support.t.cpp -*-C++-*- +// src/beman/optional26/tests/optional_range_support.t.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /** @@ -8,12 +8,12 @@ * * Classes used in the tests: int, pointers, empty, no_default_ctor, base, derived. */ -#include +#include #include -#include -#include +#include +#include #include #include diff --git a/src/beman/optional26/tests/optional_ref.t.cpp b/src/beman/optional26/tests/optional_ref.t.cpp index 8ca6e6c5..fb3f42c9 100644 --- a/src/beman/optional26/tests/optional_ref.t.cpp +++ b/src/beman/optional26/tests/optional_ref.t.cpp @@ -1,8 +1,8 @@ -// src/Beman/Optional26/tests/optional_ref.t.cpp -*-C++-*- +// src/beman/optional26/tests/optional_ref.t.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include -#include +#include +#include #include diff --git a/src/beman/optional26/tests/optional_ref_monadic.t.cpp b/src/beman/optional26/tests/optional_ref_monadic.t.cpp index d68ba6a0..78858efc 100644 --- a/src/beman/optional26/tests/optional_ref_monadic.t.cpp +++ b/src/beman/optional26/tests/optional_ref_monadic.t.cpp @@ -1,7 +1,7 @@ -// src/Beman/Optional26/tests/optional_ref_monadic.t.cpp -*-C++-*- +// src/beman/optional26/tests/optional_ref_monadic.t.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include #include diff --git a/src/beman/optional26/tests/test_types.cpp b/src/beman/optional26/tests/test_types.cpp index df8b3282..a8513775 100644 --- a/src/beman/optional26/tests/test_types.cpp +++ b/src/beman/optional26/tests/test_types.cpp @@ -1,4 +1,4 @@ -// src/Beman/Optional26/test/test_types.cpp -*-C++-*- +// src/beman/optional26/test/test_types.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include diff --git a/src/beman/optional26/tests/test_utilities.cpp b/src/beman/optional26/tests/test_utilities.cpp index 81d75697..0c48cce7 100644 --- a/src/beman/optional26/tests/test_utilities.cpp +++ b/src/beman/optional26/tests/test_utilities.cpp @@ -1,4 +1,4 @@ -// src/Beman/Optional26/test/test_utilities.cpp -*-C++-*- +// src/beman/optional26/test/test_utilities.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include +#include From 4f8287f95d34ef992b034f8b54ba8b653b304616 Mon Sep 17 00:00:00 2001 From: Steve Downey Date: Tue, 17 Sep 2024 10:24:27 -0400 Subject: [PATCH 3/3] Rename other instances of Optional26 Beman.Optional26 becomes beman.optional26, and Optional26 becomes optional26. --- README.md | 10 +++++----- cmake/gcovr.cfg.in | 2 +- docs/debug-ci.md | 2 +- examples/README.md | 6 +++--- .../beman/optional26/detail/stl_interfaces/config.hpp | 2 +- src/beman/optional26/CMakeLists.txt | 2 +- src/beman/optional26/tests/CMakeLists.txt | 2 +- src/beman/optional26/tests/detail/iterator.t.cpp | 4 ++-- src/beman/optional26/tests/test_types.hpp | 2 +- src/beman/optional26/tests/test_utilities.hpp | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index b406a267..9f1a3106 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Beman.Optional26: C++26 Extensions for std::optional +# beman.optional26: C++26 Extensions for std::optional -List of usage examples for `Beman.Optional26`. +List of usage examples for `beman.optional26`. ## Samples -Check basic `Beman.Optional26` library usages: +Check basic `beman.optional26` library usages: * local [./sample.cpp](./sample.cpp) or [sample.cpp@Compiler Explorer](https://godbolt.org/z/47vGje65x) * local [./std_vs_beman.cpp](./std_vs_beman.cpp) or [std_vs_beman.cpp@Compiler Explorer](https://godbolt.org/z/ds5MvfGe6) diff --git a/include/beman/optional26/detail/stl_interfaces/config.hpp b/include/beman/optional26/detail/stl_interfaces/config.hpp index e48ac01f..68ad40cd 100644 --- a/include/beman/optional26/detail/stl_interfaces/config.hpp +++ b/include/beman/optional26/detail/stl_interfaces/config.hpp @@ -1,4 +1,4 @@ -// include/Beman/Optional26/detail/stl_interfaces/config.hpp -*-C++-*- +// include/beman/optional26/detail/stl_interfaces/config.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Copyright (C) 2020 T. Zachary Laine diff --git a/src/beman/optional26/CMakeLists.txt b/src/beman/optional26/CMakeLists.txt index 597ba9e4..09227d08 100644 --- a/src/beman/optional26/CMakeLists.txt +++ b/src/beman/optional26/CMakeLists.txt @@ -1,5 +1,5 @@ # cmake-format: off -# src/Beman/Optional26/CMakeLists.txt -*-makefile-*- +# src/beman/optional26/CMakeLists.txt -*-makefile-*- # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # cmake-format: on diff --git a/src/beman/optional26/tests/CMakeLists.txt b/src/beman/optional26/tests/CMakeLists.txt index 0e7f1870..96fdf609 100644 --- a/src/beman/optional26/tests/CMakeLists.txt +++ b/src/beman/optional26/tests/CMakeLists.txt @@ -1,5 +1,5 @@ # cmake-format: off -# src/Beman/Optional26/tests/CMakeLists.txt -*-makefile-*- +# src/beman/optional26/tests/CMakeLists.txt -*-makefile-*- # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # cmake-format: on diff --git a/src/beman/optional26/tests/detail/iterator.t.cpp b/src/beman/optional26/tests/detail/iterator.t.cpp index d2789240..5984c26f 100644 --- a/src/beman/optional26/tests/detail/iterator.t.cpp +++ b/src/beman/optional26/tests/detail/iterator.t.cpp @@ -1,10 +1,10 @@ -// src/Beman/Optional26/tests/detail/iterator.t.cpp -*-C++-*- +// src/beman/optional26/tests/detail/iterator.t.cpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /** * This file contains tests for beman::optional26::detail::contiguous_iterator. */ -#include +#include #include #include diff --git a/src/beman/optional26/tests/test_types.hpp b/src/beman/optional26/tests/test_types.hpp index 4c01c47a..c07132d5 100644 --- a/src/beman/optional26/tests/test_types.hpp +++ b/src/beman/optional26/tests/test_types.hpp @@ -1,4 +1,4 @@ -// src/Beman/Optional26/tests/test_types.h -*-C++-*- +// src/beman/optional26/tests/test_types.h -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef BEMAN_OPTIONAL26_TESTS_TEST_TYPES_HPP diff --git a/src/beman/optional26/tests/test_utilities.hpp b/src/beman/optional26/tests/test_utilities.hpp index afb55823..9cc98281 100644 --- a/src/beman/optional26/tests/test_utilities.hpp +++ b/src/beman/optional26/tests/test_utilities.hpp @@ -1,4 +1,4 @@ -// src/Beman/Optional26/tests/test_utilities.hpp -*-C++-*- +// src/beman/optional26/tests/test_utilities.hpp -*-C++-*- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #ifndef BEMAN_OPTIONAL26_TESTS_TEST_UTILITIES_HPP