From 4355ae29de61623d54b386cfd94a1b31cf9c9e56 Mon Sep 17 00:00:00 2001 From: Lars Froehlich Date: Thu, 28 May 2026 11:09:33 +0200 Subject: [PATCH 1/5] Change main license to Boost Software License v1.0 [why] Read https://www.boost.org/doc/user-guide/bsl.html for a rationale of why the BSL is a good choice especially for foundational C++ libraries. In a nutshell, most other licenses require a copyright notice to appear in the final product even when the library is used in binary form, which the BSL does not require. This makes the library easier to use in other software. [how] Replace the old license.txt with the LGPL-2.1 text by a LICENSE.md with the BSL 1.0 text. Move our copyright and license information from the documentation website into README.md where it is much more accessible. The website just retains a link to the BSL and to the README. Adjust some details of the main Doxygen page accordingly (e.g. move the list of contributors into README.md). --- LICENSE.md | 20 ++ README.md | 40 ++++ data/doxygen.h | 214 +-------------------- license.txt | 502 ------------------------------------------------- 4 files changed, 69 insertions(+), 707 deletions(-) create mode 100644 LICENSE.md delete mode 100644 license.txt diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..bc1b35d9 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,20 @@ +# Boost Software License – Version 1.0 – August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization obtaining a +copy of the software and accompanying documentation covered by this license (the +"Software") to use, reproduce, display, distribute, execute, and transmit the Software, +and to prepare derivative works of the Software, and to permit third-parties to whom the +Software is furnished to do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including the above +license grant, this restriction and the following disclaimer, must be included in all +copies of the Software, in whole or in part, and all derivative works of the Software, +unless such copies or derivative works are solely in the form of machine-executable object +code generated by a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE +DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 118daa71..6a53417c 100644 --- a/README.md +++ b/README.md @@ -191,3 +191,43 @@ for each release in that month. For instance, the first release in March 2025 is called `25.3.0`, the second one `25.3.1`. This is not semantic versioning. + + +## Contributors and Copyright + +The following individuals contributed to the General Utility Library: + +> Jan Behrens, Lars Fröhlich, Sören Grunewald, Olaf Hensler, Fini Jastrow + +Additional code distributed with this library was written by the authors listed below. + +### Copyright & License + +* **General Utility Library for C++17 (GUL17):** Distributed under the + [Boost Software License, Version 1.0](LICENSE.md). + ``` + Copyright 2018-2026 Deutsches Elektronen-Synchrotron (DESY), Hamburg. + ``` + +The following exceptions apply because this library contains third-party code that is +distributed under its own copyright notice: + +* [date.h](include/gul17/date.h): Distributed under the + [MIT License](https://opensource.org/license/mit) (see file header for details). + ``` + Copyright 2015, 2016, 2017 Howard Hinnant, 2016 Adrian Colomitchi, 2017 Florian + Dang, 2017 Paul Thompson, 2018, 2019 Tomasz Kamiński, 2019 Jiangang Zhuang. + ``` +* [expected.h](include/gul17/expected.h) Distributed under the + [CC0 1.0 Universal (CC0 1.0) Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/) + (see file header for details). + ``` + Written in 2017 by Sy Brand. To the extent possible under law, the author(s) have + dedicated all copyright and related and neighboring rights to this software to the + public domain worldwide. This software is distributed without any warranty. + ``` +* [span.h](include/gul17/span.h) Distributed under the + [Boost Software License, Version 1.0](LICENSE.md) (see file header for details). + ``` + Copyright 2018 Tristan Brindle. + ``` diff --git a/data/doxygen.h b/data/doxygen.h index f8028f71..17294cfd 100644 --- a/data/doxygen.h +++ b/data/doxygen.h @@ -99,16 +99,18 @@ namespace gul17 { * requests, but they should fit into the scope of the library – it may be better to * discuss new features in a GitHub issue before diving into the implementation. * - * \section behind_the_scenes Behind the Scenes + * \section changelog Changelog * - * \version - * \ref release_notes + * Please refer to the \ref release_notes "Release Notes" page for information on changes + * between different versions of the library. * - * \authors - * \ref contributors + * \section copyright_license_contributors Copyright, License, and Contributors * - * \copyright - * \ref copyright_notice + * Most of the library is distributed under the + * \ref license_boost_1_0 "Boost Software License, Version 1.0", but exceptions apply for + * individual files. Please refer to the + * [README file](https://github.com/gul-cpp/gul17/blob/main/README.md) in the library + * repository for more information on copyright, license, and a list of contributors. */ /** @@ -352,60 +354,6 @@ namespace gul17 { * - First release version of GUL */ -/** - * \page contributors_and_copyright Contributors & Copyright - * - * \section contributors General Utility Library Contributors - * - * The following individuals contributed to the General Utility Library: - * - * > Lars Fröhlich, Sören Grunewald, Olaf Hensler, Fini Jastrow, Josef Wilgen - * - * Additional code distributed with this library was written by authors listed under - * \ref additional_copyright_notices below. - * - * \section copyright_notice Copyright Notice - * - * Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * \section additional_copyright_notices Additional Copyright Notices - * - * This library contains third-party code that is distributed under its own copyright - * notice: - * - *
- *
date.h
- *
Copyright 2015, 2016, 2017 Howard Hinnant, 2016 Adrian Colomitchi, 2017 Florian - * Dang, 2017 Paul Thompson, 2018, 2019 Tomasz Kamiński, 2019 Jiangang Zhuang. - * Distributed under the MIT License (see \ref license_mit and \ref date.h for - * details).
- * - *
\ref expected.h
- *
Written in 2017 by Sy Brand. To the extent possible under law, the author(s) have - * dedicated all copyright and related and neighboring rights to this software to the - * public domain worldwide. This software is distributed without any warranty. - * \ref license_cc0_public_domain and \ref expected.h for details).
- * - *
\ref span.h
- *
Copyright 2018 Tristan Brindle. - * Distributed under the Boost Software License, Version 1.0 (see - * \ref license_boost_1_0 and \ref span.h for details).
- *
- */ - /** * \page quality_standards Quality Standards * @@ -818,150 +766,6 @@ namespace gul17 { * DEALINGS IN THE SOFTWARE. */ -/** - * \page license_cc0_public_domain Creative Commons Legal Code – CC0 1.0 Universal - * - * CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - * LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN - * ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - * INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - * REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS - * PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM - * THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED - * HEREUNDER. - * - * Statement of Purpose - * - * The laws of most jurisdictions throughout the world automatically confer - * exclusive Copyright and Related Rights (defined below) upon the creator - * and subsequent owner(s) (each and all, an "owner") of an original work of - * authorship and/or a database (each, a "Work"). - * - * Certain owners wish to permanently relinquish those rights to a Work for - * the purpose of contributing to a commons of creative, cultural and - * scientific works ("Commons") that the public can reliably and without fear - * of later claims of infringement build upon, modify, incorporate in other - * works, reuse and redistribute as freely as possible in any form whatsoever - * and for any purposes, including without limitation commercial purposes. - * These owners may contribute to the Commons to promote the ideal of a free - * culture and the further production of creative, cultural and scientific - * works, or to gain reputation or greater distribution for their Work in - * part through the use and efforts of others. - * - * For these and/or other purposes and motivations, and without any - * expectation of additional consideration or compensation, the person - * associating CC0 with a Work (the "Affirmer"), to the extent that he or she - * is an owner of Copyright and Related Rights in the Work, voluntarily - * elects to apply CC0 to the Work and publicly distribute the Work under its - * terms, with knowledge of his or her Copyright and Related Rights in the - * Work and the meaning and intended legal effect of CC0 on those rights. - * - * 1. Copyright and Related Rights. A Work made available under CC0 may be - * protected by copyright and related or neighboring rights ("Copyright and - * Related Rights"). Copyright and Related Rights include, but are not - * limited to, the following: - * - * i. the right to reproduce, adapt, distribute, perform, display, - * communicate, and translate a Work; - * ii. moral rights retained by the original author(s) and/or performer(s); - * iii. publicity and privacy rights pertaining to a person's image or - * likeness depicted in a Work; - * iv. rights protecting against unfair competition in regards to a Work, - * subject to the limitations in paragraph 4(a), below; - * v. rights protecting the extraction, dissemination, use and reuse of data - * in a Work; - * vi. database rights (such as those arising under Directive 96/9/EC of the - * European Parliament and of the Council of 11 March 1996 on the legal - * protection of databases, and under any national implementation - * thereof, including any amended or successor version of such - * directive); and - * vii. other similar, equivalent or corresponding rights throughout the - * world based on applicable law or treaty, and any national - * implementations thereof. - * - * 2. Waiver. To the greatest extent permitted by, but not in contravention - * of, applicable law, Affirmer hereby overtly, fully, permanently, - * irrevocably and unconditionally waives, abandons, and surrenders all of - * Affirmer's Copyright and Related Rights and associated claims and causes - * of action, whether now known or unknown (including existing as well as - * future claims and causes of action), in the Work (i) in all territories - * worldwide, (ii) for the maximum duration provided by applicable law or - * treaty (including future time extensions), (iii) in any current or future - * medium and for any number of copies, and (iv) for any purpose whatsoever, - * including without limitation commercial, advertising or promotional - * purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each - * member of the public at large and to the detriment of Affirmer's heirs and - * successors, fully intending that such Waiver shall not be subject to - * revocation, rescission, cancellation, termination, or any other legal or - * equitable action to disrupt the quiet enjoyment of the Work by the public - * as contemplated by Affirmer's express Statement of Purpose. - * - * 3. Public License Fallback. Should any part of the Waiver for any reason - * be judged legally invalid or ineffective under applicable law, then the - * Waiver shall be preserved to the maximum extent permitted taking into - * account Affirmer's express Statement of Purpose. In addition, to the - * extent the Waiver is so judged Affirmer hereby grants to each affected - * person a royalty-free, non transferable, non sublicensable, non exclusive, - * irrevocable and unconditional license to exercise Affirmer's Copyright and - * Related Rights in the Work (i) in all territories worldwide, (ii) for the - * maximum duration provided by applicable law or treaty (including future - * time extensions), (iii) in any current or future medium and for any number - * of copies, and (iv) for any purpose whatsoever, including without - * limitation commercial, advertising or promotional purposes (the - * "License"). The License shall be deemed effective as of the date CC0 was - * applied by Affirmer to the Work. Should any part of the License for any - * reason be judged legally invalid or ineffective under applicable law, such - * partial invalidity or ineffectiveness shall not invalidate the remainder - * of the License, and in such case Affirmer hereby affirms that he or she - * will not (i) exercise any of his or her remaining Copyright and Related - * Rights in the Work or (ii) assert any associated claims and causes of - * action with respect to the Work, in either case contrary to Affirmer's - * express Statement of Purpose. - * - * 4. Limitations and Disclaimers. - * - * a. No trademark or patent rights held by Affirmer are waived, abandoned, - * surrendered, licensed or otherwise affected by this document. - * b. Affirmer offers the Work as-is and makes no representations or - * warranties of any kind concerning the Work, express, implied, - * statutory or otherwise, including without limitation warranties of - * title, merchantability, fitness for a particular purpose, non - * infringement, or the absence of latent or other defects, accuracy, or - * the present or absence of errors, whether or not discoverable, all to - * the greatest extent permissible under applicable law. - * c. Affirmer disclaims responsibility for clearing rights of other persons - * that may apply to the Work or any use thereof, including without - * limitation any person's Copyright and Related Rights in the Work. - * Further, Affirmer disclaims responsibility for obtaining any necessary - * consents, permissions or other rights required for any use of the - * Work. - * d. Affirmer understands and acknowledges that Creative Commons is not a - * party to this document and has no duty or obligation with respect to - * this CC0 or use of the Work. - */ - -/** - * \page license_mit MIT License - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - /** * \page using_gul_on_windows Using GUL on Windows * diff --git a/license.txt b/license.txt deleted file mode 100644 index 4362b491..00000000 --- a/license.txt +++ /dev/null @@ -1,502 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! From 21db3a6e4a7e771270d07718c89d6e606a9c72d7 Mon Sep 17 00:00:00 2001 From: Lars Froehlich Date: Thu, 28 May 2026 13:32:41 +0200 Subject: [PATCH 2/5] Change license identifier in RPM .spec file to BSL-1.0 --- gul17.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gul17.spec b/gul17.spec index bb35f242..6faf9b28 100644 --- a/gul17.spec +++ b/gul17.spec @@ -22,9 +22,9 @@ Name: gul17 Version: 25.4.1 Release: 1%{?dist} -Summary: General Utility Library +Summary: General Utility Library for C++17 -License: LGPL-2.1+ +License: BSL-1.0 URL: https://github.com/gul-cpp/gul17 Source0: gul17-%{version}.tar.xz From a7df3045f9592a37a79eeb224c4a613b26edf545 Mon Sep 17 00:00:00 2001 From: Lars Froehlich Date: Thu, 28 May 2026 13:33:54 +0200 Subject: [PATCH 3/5] Put style sheet under Boost Software License --- data/style.css | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/data/style.css b/data/style.css index 7e6511da..559913ce 100644 --- a/data/style.css +++ b/data/style.css @@ -1,25 +1,10 @@ /* * Copyright 2018-2021 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see LICENSE.md + * or https://www.boost.org/LICENSE_1_0.txt). */ -/* - Created on : Aug 28, 2018 - Author : Lars Froehlich -*/ - div.image img[src="gul17_big.png"]{ width:220px; float:right; From bfab8af7b1e2d35a53d707846d9bb5832c834e24 Mon Sep 17 00:00:00 2001 From: Lars Froehlich Date: Thu, 28 May 2026 13:34:42 +0200 Subject: [PATCH 4/5] Debian: Modify copyright file to reflect new license [why] We have put GUL17 under the BSL v1.0. --- debian/copyright | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/debian/copyright b/debian/copyright index 783121de..c1860944 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,9 +1,8 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: * -Copyright: 2018-2024 libgul contributors - 2018-2024 DESY -License: LGPL-2.1+ +Copyright: 2018-2026 Deutsches Elektronen-Synchrotron (DESY), Hamburg +License: BSL-1.0 Files: include/gul17/catch.h Copyright: 2019 Two Blue Cubes Ltd. @@ -29,21 +28,6 @@ Copyright: 2018 Tristan Brindle 2019 libgul contributors (L. Fröhlich) License: BSL-1.0 -License: LGPL-2.1+ - This package is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - . - You should have received a copy of the GNU Lesser General Public - License along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - License: BSL-1.0 Boost Software License - Version 1.0 - August 17th, 2003 . From 31783627456b7140b1695fd6601e7ac900219f50 Mon Sep 17 00:00:00 2001 From: Lars Froehlich Date: Thu, 28 May 2026 13:46:26 +0200 Subject: [PATCH 5/5] Change license in file headers to BSL 1.0 [why] We have put our source code under the Boost Software License, so the file headers must reflect that. --- data/doxygen.h | 21 +++++---------------- examples/thread_pool.cc | 21 +++++---------------- examples/trim.cc | 21 +++++---------------- include/gul17/OverloadSet.h | 21 +++++---------------- include/gul17/SlidingBuffer.h | 21 +++++---------------- include/gul17/SmallVector.h | 21 +++++---------------- include/gul17/ThreadPool.h | 23 +++++------------------ include/gul17/Trigger.h | 21 +++++---------------- include/gul17/bit_manip.h | 23 ++++++----------------- include/gul17/case_ascii.h | 23 ++++++----------------- include/gul17/cat.h | 23 ++++++----------------- include/gul17/escape.h | 21 +++++---------------- include/gul17/finalizer.h | 21 +++++---------------- include/gul17/gcd_lcm.h | 21 +++++---------------- include/gul17/gul.h | 22 +++++----------------- include/gul17/hexdump.h | 21 +++++---------------- include/gul17/internal.h | 21 +++++---------------- include/gul17/join_split.h | 21 +++++---------------- include/gul17/num_util.h | 21 +++++---------------- include/gul17/replace.h | 21 +++++---------------- include/gul17/statistics.h | 21 +++++---------------- include/gul17/string_util.h | 21 +++++---------------- include/gul17/substring_checks.h | 21 +++++---------------- include/gul17/time_util.h | 21 +++++---------------- include/gul17/to_number.h | 21 +++++---------------- include/gul17/tokenize.h | 21 +++++---------------- include/gul17/traits.h | 22 +++++----------------- include/gul17/trim.h | 23 ++++++----------------- include/gul17/type_name.h | 24 +++++------------------- include/gul17/version.h | 21 +++++---------------- src/ThreadPool.cc | 21 +++++---------------- src/Trigger.cc | 21 +++++---------------- src/case_ascii.cc | 24 ++++++------------------ src/cat.cc | 21 +++++---------------- src/escape.cc | 21 +++++---------------- src/replace.cc | 15 ++------------- src/string_util.cc | 21 +++++---------------- src/to_number.cc | 21 +++++---------------- src/trim.cc | 23 ++++++----------------- src/version.cc.in | 21 +++++---------------- tests/test_OverloadSet.cc | 21 +++++---------------- tests/test_SlidingBuffer.cc | 21 +++++---------------- tests/test_SmallVector.cc | 21 +++++---------------- tests/test_ThreadPool.cc | 23 +++++------------------ tests/test_Trigger.cc | 21 +++++---------------- tests/test_backports.cc | 21 +++++---------------- tests/test_bit_manip.cc | 21 +++++---------------- tests/test_case_ascii.cc | 23 ++++++----------------- tests/test_cat.cc | 21 +++++---------------- tests/test_escape.cc | 21 +++++---------------- tests/test_expected.cc | 21 +++++---------------- tests/test_finalizer.cc | 19 ++++--------------- tests/test_gcd_lcm.cc | 21 +++++---------------- tests/test_hexdump.cc | 21 +++++---------------- tests/test_join_split.cc | 21 +++++---------------- tests/test_main.cc | 21 +++++---------------- tests/test_num_util.cc | 21 +++++---------------- tests/test_replace.cc | 21 +++++---------------- tests/test_self_containment.cc.in | 21 +++++---------------- tests/test_statistics.cc | 21 +++++---------------- tests/test_string_util.cc | 21 +++++---------------- tests/test_substring_checks.cc | 21 +++++---------------- tests/test_time_util.cc | 21 +++++---------------- tests/test_to_number.cc | 21 +++++---------------- tests/test_tokenize.cc | 21 +++++---------------- tests/test_trim.cc | 23 ++++++----------------- tests/test_type_name.cc | 21 +++++---------------- 67 files changed, 339 insertions(+), 1086 deletions(-) diff --git a/data/doxygen.h b/data/doxygen.h index 17294cfd..945c7529 100644 --- a/data/doxygen.h +++ b/data/doxygen.h @@ -1,23 +1,12 @@ /** - * \file doxygen.h - * \authors \ref contributors - * \date Created on August 24, 2018 - * \brief Doxygen input file for the General Utility Library. + * \file doxygen.h + * \date Created on August 24, 2018 + * \brief Doxygen input file for the General Utility Library. * * \copyright Copyright 2018-2026 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ /** diff --git a/examples/thread_pool.cc b/examples/thread_pool.cc index 30973bbf..c1917b6c 100644 --- a/examples/thread_pool.cc +++ b/examples/thread_pool.cc @@ -1,23 +1,12 @@ /** - * \file thread_pool.cc - * \authors \ref contributors - * \date Created on February 9, 2024 - * \brief Example on how to use the ThreadPool. + * \file thread_pool.cc + * \date Created on February 9, 2024 + * \brief Example on how to use the ThreadPool. * * \copyright Copyright 2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/examples/trim.cc b/examples/trim.cc index ce02483d..ccbef55b 100644 --- a/examples/trim.cc +++ b/examples/trim.cc @@ -1,23 +1,12 @@ /** - * \file trim.cc - * \author \ref contributors - * \date Created on November 22, 2018 - * \brief Example for the trim() family of functions from the General Utility Library. + * \file trim.cc + * \date Created on November 22, 2018 + * \brief Example for the trim() family of functions from the General Utility Library. * * \copyright Copyright 2018-2019, 2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/include/gul17/OverloadSet.h b/include/gul17/OverloadSet.h index 982a82f0..9319df35 100644 --- a/include/gul17/OverloadSet.h +++ b/include/gul17/OverloadSet.h @@ -1,23 +1,12 @@ /** - * \file OverloadSet.h - * \brief Implementation of the OverloadSet class template. - * \authors \ref contributors - * \date Created on 15 June 2023 + * \file OverloadSet.h + * \brief Implementation of the OverloadSet class template. + * \date Created on 15 June 2023 * * \copyright Copyright 2023-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_OVERLOADSET_H_ diff --git a/include/gul17/SlidingBuffer.h b/include/gul17/SlidingBuffer.h index e013c36b..d333f1b7 100644 --- a/include/gul17/SlidingBuffer.h +++ b/include/gul17/SlidingBuffer.h @@ -1,23 +1,12 @@ /** - * \file SlidingBuffer.h - * \authors \ref contributors - * \date Created on Feb 7, 2019 - * \brief Declaration of the SlidingBuffer class for the General Utility Library. + * \file SlidingBuffer.h + * \date Created on Feb 7, 2019 + * \brief Declaration of the SlidingBuffer class for the General Utility Library. * * \copyright Copyright 2019-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_SLIDINGBUFFER_H_ diff --git a/include/gul17/SmallVector.h b/include/gul17/SmallVector.h index 030ee990..6c6a170b 100644 --- a/include/gul17/SmallVector.h +++ b/include/gul17/SmallVector.h @@ -1,23 +1,12 @@ /** - * \file SmallVector.h - * \authors \ref contributors - * \date Created on August 17, 2020 - * \brief Definition of the SmallVector class template. + * \file SmallVector.h + * \date Created on August 17, 2020 + * \brief Definition of the SmallVector class template. * * \copyright Copyright 2020-2026 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_SMALLVECTOR_H_ diff --git a/include/gul17/ThreadPool.h b/include/gul17/ThreadPool.h index 1584432b..e8ebc9fe 100644 --- a/include/gul17/ThreadPool.h +++ b/include/gul17/ThreadPool.h @@ -1,27 +1,14 @@ /** - * \file ThreadPool.h - * \authors \ref contributors - * \date Created on November 6, 2018 - * \brief Declaration of the ThreadPool class. + * \file ThreadPool.h + * \date Created on November 6, 2018 + * \brief Declaration of the ThreadPool class. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ -// SPDX-License-Identifier: LGPL-2.1-or-later - #ifndef GUL17_THREADPOOL_H_ #define GUL17_THREADPOOL_H_ diff --git a/include/gul17/Trigger.h b/include/gul17/Trigger.h index c9b02c32..d75bbfc4 100644 --- a/include/gul17/Trigger.h +++ b/include/gul17/Trigger.h @@ -1,23 +1,12 @@ /** - * \file Trigger.h - * \authors \ref contributors - * \date Created on September 21, 2018 - * \brief Declaration of the Trigger class for the General Utility Library. + * \file Trigger.h + * \date Created on September 21, 2018 + * \brief Declaration of the Trigger class for the General Utility Library. * * \copyright Copyright 2018-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_TRIGGER_H_ diff --git a/include/gul17/bit_manip.h b/include/gul17/bit_manip.h index b099c5bc..ae062f1c 100644 --- a/include/gul17/bit_manip.h +++ b/include/gul17/bit_manip.h @@ -1,24 +1,13 @@ /** - * \file bit_manip.h - * \brief Declaration of bit manipulation utility functions for the General Utility - * Library. - * \authors \ref contributors - * \date Created on 17 October 2019 + * \file bit_manip.h + * \brief Declaration of bit manipulation utility functions for the General Utility + * Library. + * \date Created on 17 October 2019 * * \copyright Copyright 2019-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_BIT_MANIP_H_ diff --git a/include/gul17/case_ascii.h b/include/gul17/case_ascii.h index 84f902bb..83f66c8a 100644 --- a/include/gul17/case_ascii.h +++ b/include/gul17/case_ascii.h @@ -1,24 +1,13 @@ /** - * \file case_ascii.h - * \brief Declarations of lowercase_ascii(), lowercase_ascii_inplace(), - * uppercase_ascii(), and uppercase_ascii_inplace(). - * \authors \ref contributors - * \date Created on 28 May 2019 + * \file case_ascii.h + * \brief Declarations of lowercase_ascii(), lowercase_ascii_inplace(), uppercase_ascii(), + * and uppercase_ascii_inplace(). + * \date Created on 28 May 2019 * * \copyright Copyright 2019-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_CASE_ASCII_H_ diff --git a/include/gul17/cat.h b/include/gul17/cat.h index 4c92187b..421d34d0 100644 --- a/include/gul17/cat.h +++ b/include/gul17/cat.h @@ -1,24 +1,13 @@ /** - * \file cat.h - * \author \ref contributors - * \date Created on August 31, 2018 - * \brief Declaration of the overload set for cat() and of the associated class - * ConvertingStringView. + * \file cat.h + * \date Created on August 31, 2018 + * \brief Declaration of the overload set for cat() and of the associated class + * ConvertingStringView. * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_CAT_H_ diff --git a/include/gul17/escape.h b/include/gul17/escape.h index ef7f9d00..a36b0426 100644 --- a/include/gul17/escape.h +++ b/include/gul17/escape.h @@ -1,23 +1,12 @@ /** - * \file escape.h - * \brief Declaration of escape(), unescape(). - * \authors \ref contributors - * \date Created on 31 August 2018 + * \file escape.h + * \brief Declaration of escape(), unescape(). + * \date Created on 31 August 2018 * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_ESCAPE_H_ diff --git a/include/gul17/finalizer.h b/include/gul17/finalizer.h index e3945323..14ecf1eb 100644 --- a/include/gul17/finalizer.h +++ b/include/gul17/finalizer.h @@ -1,23 +1,12 @@ /** - * \file finalizer.h - * \brief Implementation of FinalAction and finally(). - * \authors \ref contributors - * \date Created on 23 October 2018 + * \file finalizer.h + * \brief Implementation of FinalAction and finally(). + * \date Created on 23 October 2018 * * \copyright Copyright 2018-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_FINALIZER_H_ diff --git a/include/gul17/gcd_lcm.h b/include/gul17/gcd_lcm.h index 00ff77d8..21e7a0a4 100644 --- a/include/gul17/gcd_lcm.h +++ b/include/gul17/gcd_lcm.h @@ -1,23 +1,12 @@ /** - * \file gcd_lcm.h - * \brief Declarations of gcd() and lcm(). - * \authors \ref contributors - * \date Created on 5 August 2022 + * \file gcd_lcm.h + * \brief Declarations of gcd() and lcm(). + * \date Created on 5 August 2022 * * \copyright Copyright 2022-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_GCD_LCM_H_ diff --git a/include/gul17/gul.h b/include/gul17/gul.h index e8e2b587..77bba3b6 100644 --- a/include/gul17/gul.h +++ b/include/gul17/gul.h @@ -1,23 +1,12 @@ /** - * \file gul.h - * \authors \ref contributors - * \date Created on August 24, 2018 - * \brief Main include file for the General Utility Library. + * \file gul.h + * \date Created on August 24, 2018 + * \brief Main include file for the General Utility Library. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_GUL_H_ @@ -39,7 +28,6 @@ #include "gul17/bit_manip.h" #include "gul17/case_ascii.h" #include "gul17/cat.h" -// #include "gul17/catch.h" not included because it is only useful for unit tests // #include "gul17/date.h" not included by default to reduce compile times #include "gul17/escape.h" #include "gul17/expected.h" diff --git a/include/gul17/hexdump.h b/include/gul17/hexdump.h index 75b24d64..befaab00 100644 --- a/include/gul17/hexdump.h +++ b/include/gul17/hexdump.h @@ -1,23 +1,12 @@ /** - * \file hexdump.h - * \author \ref contributors - * \date Created on September 25, 2018 - * \brief Declaration of the hexdump() functions and associated types. + * \file hexdump.h + * \date Created on September 25, 2018 + * \brief Declaration of the hexdump() functions and associated types. * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_HEXDUMP_H_ diff --git a/include/gul17/internal.h b/include/gul17/internal.h index 1b1e96af..5e602158 100644 --- a/include/gul17/internal.h +++ b/include/gul17/internal.h @@ -1,23 +1,12 @@ /** - * \file internal.h - * \brief Definition of macros used internally by GUL. - * \authors \ref contributors - * \date Created on 7 Aug 2019 + * \file internal.h + * \brief Definition of macros used internally by GUL. + * \date Created on 7 Aug 2019 * * \copyright Copyright 2019-2020 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_INTERNAL_H_ diff --git a/include/gul17/join_split.h b/include/gul17/join_split.h index d21f90ce..b463f5b4 100644 --- a/include/gul17/join_split.h +++ b/include/gul17/join_split.h @@ -1,23 +1,12 @@ /** - * \file join_split.h - * \brief Implementation of join(), split(), and split_sv(). - * \authors \ref contributors - * \date Created on 31 August 2018 + * \file join_split.h + * \brief Implementation of join(), split(), and split_sv(). + * \date Created on 31 August 2018 * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_JOIN_SPLIT_H_ diff --git a/include/gul17/num_util.h b/include/gul17/num_util.h index 3a05edf9..a32e8fc5 100644 --- a/include/gul17/num_util.h +++ b/include/gul17/num_util.h @@ -1,23 +1,12 @@ /** - * \file num_util.h - * \brief Declaration of numerical utility functions. - * \authors \ref contributors - * \date Created on 7 Feb 2019 + * \file num_util.h + * \brief Declaration of numerical utility functions. + * \date Created on 7 Feb 2019 * * \copyright Copyright 2019-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_NUM_UTIL_H_ diff --git a/include/gul17/replace.h b/include/gul17/replace.h index 9ec7d284..b5118b88 100644 --- a/include/gul17/replace.h +++ b/include/gul17/replace.h @@ -1,23 +1,12 @@ /** - * \file replace.h - * \brief Declarations of replace(), replace_inplace(). - * \authors \ref contributors - * \date Created on 31 August 2018 + * \file replace.h + * \brief Declarations of replace(), replace_inplace(). + * \date Created on 31 August 2018 * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_REPLACE_H_ diff --git a/include/gul17/statistics.h b/include/gul17/statistics.h index 0dcff4d1..664df582 100644 --- a/include/gul17/statistics.h +++ b/include/gul17/statistics.h @@ -1,23 +1,12 @@ /** - * \file statistics.h - * \brief Declaration of statistical utility functions and classes. - * \authors \ref contributors - * \date Created on 7 February 2019 + * \file statistics.h + * \brief Declaration of statistical utility functions and classes. + * \date Created on 7 February 2019 * * \copyright Copyright 2019-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_STATISTICS_H_ diff --git a/include/gul17/string_util.h b/include/gul17/string_util.h index 13c0a038..b39e080d 100644 --- a/include/gul17/string_util.h +++ b/include/gul17/string_util.h @@ -1,23 +1,12 @@ /** - * \file string_util.h - * \brief Declaration of string utility functions. - * \authors \ref contributors - * \date Created on 31 August 2018 + * \file string_util.h + * \brief Declaration of string utility functions. + * \date Created on 31 August 2018 * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_STRING_UTIL_H_ diff --git a/include/gul17/substring_checks.h b/include/gul17/substring_checks.h index f0df773d..d757d52c 100644 --- a/include/gul17/substring_checks.h +++ b/include/gul17/substring_checks.h @@ -1,23 +1,12 @@ /** - * \file substring_checks.h - * \brief Definition of contains(), ends_with(), and starts_with(). - * \authors \ref contributors - * \date Created on 26 November 2018 + * \file substring_checks.h + * \brief Definition of contains(), ends_with(), and starts_with(). + * \date Created on 26 November 2018 * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_SUBSTRING_CHECKS_H_ diff --git a/include/gul17/time_util.h b/include/gul17/time_util.h index d4eb96e7..eeb1d840 100644 --- a/include/gul17/time_util.h +++ b/include/gul17/time_util.h @@ -1,23 +1,12 @@ /** - * \file time_util.h - * \authors \ref contributors - * \date Created on September 7, 2018 - * \brief Declaration of time related functions for the General Utility Library. + * \file time_util.h + * \date Created on September 7, 2018 + * \brief Declaration of time related functions for the General Utility Library. * * \copyright Copyright 2018-2023 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_TIME_UTIL_H_ diff --git a/include/gul17/to_number.h b/include/gul17/to_number.h index f1d014d0..4375fce6 100644 --- a/include/gul17/to_number.h +++ b/include/gul17/to_number.h @@ -1,23 +1,12 @@ /** - * \file to_number.h - * \brief Declaration of to_number(). - * \authors \ref contributors - * \date Created on 19 July 2019 + * \file to_number.h + * \brief Declaration of to_number(). + * \date Created on 19 July 2019 * * \copyright Copyright 2019-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_TO_NUMBER_H_ diff --git a/include/gul17/tokenize.h b/include/gul17/tokenize.h index 992520f9..a8beb62a 100644 --- a/include/gul17/tokenize.h +++ b/include/gul17/tokenize.h @@ -1,23 +1,12 @@ /** - * \file tokenize.h - * \authors \ref contributors - * \date Created on September 3, 2018 - * \brief Implementation of tokenize(), tokenize_sv(). + * \file tokenize.h + * \date Created on September 3, 2018 + * \brief Implementation of tokenize(), tokenize_sv(). * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_TOKENIZE_H_ diff --git a/include/gul17/traits.h b/include/gul17/traits.h index 44d0fb09..1d63c230 100644 --- a/include/gul17/traits.h +++ b/include/gul17/traits.h @@ -1,26 +1,14 @@ /** - * \file traits.h - * \brief Some metaprogramming traits for the General Utility Library. - * \authors \ref contributors - * \date Created on 20 August 2021 + * \file traits.h + * \brief Some metaprogramming traits for the General Utility Library. + * \date Created on 20 August 2021 * * \copyright Copyright 2021-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ - #ifndef GUL17_TRAITS_H_ #define GUL17_TRAITS_H_ diff --git a/include/gul17/trim.h b/include/gul17/trim.h index 11f8cb63..f25c7b85 100644 --- a/include/gul17/trim.h +++ b/include/gul17/trim.h @@ -1,24 +1,13 @@ /** - * \file trim.h - * \author \ref contributors - * \date Created on September 19, 2018 - * \brief Declarations of trim(), trim_left(), trim_right(), trim_sv(), trim_left_sv(), - * and trim_right_sv(). + * \file trim.h + * \date Created on September 19, 2018 + * \brief Declarations of trim(), trim_left(), trim_right(), trim_sv(), trim_left_sv(), + * and trim_right_sv(). * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_TRIM_H_ diff --git a/include/gul17/type_name.h b/include/gul17/type_name.h index ac0972ef..0f4dfd98 100644 --- a/include/gul17/type_name.h +++ b/include/gul17/type_name.h @@ -1,26 +1,12 @@ /** - * \file type_name.h - * \author \ref contributors - * \date Created on April 11, 2019 - * \brief Definition of type_name() + * \file type_name.h + * \date Created on April 11, 2019 + * \brief Definition of type_name() * * \copyright Copyright 2019-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * This code has been inspired by posts of Howard Hinnant at Stackoverflow. - * His code has been inspired by posts of Jamboree at Stackoverflow. + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_TYPE_NAME_H_ diff --git a/include/gul17/version.h b/include/gul17/version.h index 023b9b89..61b5d0ff 100644 --- a/include/gul17/version.h +++ b/include/gul17/version.h @@ -1,23 +1,12 @@ /** - * \file version.h - * \author \ref contributors - * \date Created on September 14, 2018 - * \brief Provide information about the library version + * \file version.h + * \date Created on September 14, 2018 + * \brief Provide information about the library version * * \copyright Copyright 2018-2020 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #ifndef GUL17_VERSION_H_ diff --git a/src/ThreadPool.cc b/src/ThreadPool.cc index dd88aac5..445b95e2 100644 --- a/src/ThreadPool.cc +++ b/src/ThreadPool.cc @@ -1,23 +1,12 @@ /** - * \file ThreadPool.cc - * \authors \ref contributors - * \date Created on November 6, 2018 - * \brief Implementation of the ThreadPool class. + * \file ThreadPool.cc + * \date Created on November 6, 2018 + * \brief Implementation of the ThreadPool class. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/src/Trigger.cc b/src/Trigger.cc index 1ea4fc03..781ca157 100644 --- a/src/Trigger.cc +++ b/src/Trigger.cc @@ -1,23 +1,12 @@ /** - * \file Trigger.cc - * \authors \ref contributors - * \brief Implementation of the Trigger class for the General Utility Library. - * \date Created on September 21, 2018 + * \file Trigger.cc + * \brief Implementation of the Trigger class for the General Utility Library. + * \date Created on September 21, 2018 * * \copyright Copyright 2018 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include "gul17/Trigger.h" diff --git a/src/case_ascii.cc b/src/case_ascii.cc index 48effaf9..59d76ff9 100644 --- a/src/case_ascii.cc +++ b/src/case_ascii.cc @@ -1,29 +1,17 @@ /** - * \file case_ascii.cc - * \brief Implementation of lowercase_ascii(), lowercase_ascii_inplace(), - * uppercase_ascii(), and uppercase_ascii_inplace(). - * \authors \ref contributors - * \date Created on 28 May 2019 + * \file case_ascii.cc + * \brief Implementation of lowercase_ascii(), lowercase_ascii_inplace(), + * uppercase_ascii(), and uppercase_ascii_inplace(). + * \date Created on 28 May 2019 * * \copyright Copyright 2019 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include "gul17/case_ascii.h" - namespace gul17 { std::string lowercase_ascii(std::string_view str) diff --git a/src/cat.cc b/src/cat.cc index 34381db6..1da2403a 100644 --- a/src/cat.cc +++ b/src/cat.cc @@ -1,23 +1,12 @@ /** - * \file cat.cc - * \authors \ref contributors - * \brief Implementation of cat() for two or more parameters. - * \date Created on August 31, 2018 + * \file cat.cc + * \brief Implementation of cat() for two or more parameters. + * \date Created on August 31, 2018 * * \copyright Copyright 2018-2019 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include "gul17/cat.h" diff --git a/src/escape.cc b/src/escape.cc index 4285cea2..b02c7242 100644 --- a/src/escape.cc +++ b/src/escape.cc @@ -1,23 +1,12 @@ /** - * \file escape.cc - * \brief Implementation of escape(), unescape(). - * \authors \ref contributors - * \date Created on 31 August 2018 + * \file escape.cc + * \brief Implementation of escape(), unescape(). + * \date Created on 31 August 2018 * * \copyright Copyright 2018-2021 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/src/replace.cc b/src/replace.cc index 3f5961a9..898ee48b 100644 --- a/src/replace.cc +++ b/src/replace.cc @@ -1,23 +1,12 @@ /** * \file replace.cc * \brief Implementation of replace(), replace_inplace(). - * \authors \ref contributors * \date Created on 31 August 2018 * * \copyright Copyright 2018 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include "gul17/replace.h" diff --git a/src/string_util.cc b/src/string_util.cc index b2104897..e1c09aee 100644 --- a/src/string_util.cc +++ b/src/string_util.cc @@ -1,23 +1,12 @@ /** - * \file string_util.cc - * \brief Implementation of string utilities for the General Utility Library. - * \authors \ref contributors - * \date Created on 31 August 2018 + * \file string_util.cc + * \brief Implementation of string utilities for the General Utility Library. + * \date Created on 31 August 2018 * * \copyright Copyright 2018-2026 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/src/to_number.cc b/src/to_number.cc index 7e5d205d..66afb76e 100644 --- a/src/to_number.cc +++ b/src/to_number.cc @@ -1,23 +1,12 @@ /** - * \file to_number.cc - * \brief Implementation of pow10(). - * \authors \ref contributors - * \date Created on 19 Februar 2024 + * \file to_number.cc + * \brief Implementation of pow10(). + * \date Created on 19 Februar 2024 * * \copyright Copyright 2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/src/trim.cc b/src/trim.cc index 00a083fb..b62d23bb 100644 --- a/src/trim.cc +++ b/src/trim.cc @@ -1,24 +1,13 @@ /** - * \file trim.cc - * \author \ref contributors - * \date Created on September 19, 2018 - * \brief Implementation of trim(), trim_left(), trim_right(), trim_sv(), trim_left_sv(), - * and trim_right_sv(). + * \file trim.cc + * \date Created on September 19, 2018 + * \brief Implementation of trim(), trim_left(), trim_right(), trim_sv(), trim_left_sv(), + * and trim_right_sv(). * * \copyright Copyright 2018 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include "gul17/trim.h" diff --git a/src/version.cc.in b/src/version.cc.in index af05810f..c2e35b54 100644 --- a/src/version.cc.in +++ b/src/version.cc.in @@ -1,23 +1,12 @@ /** - * \file version.cc.in - * \brief Implementation of the storage location for version strings - * \authors \ref contributors - * \date Created on 14 Sep 2018 + * \file version.cc.in + * \brief Implementation of the storage location for version strings + * \date Created on 14 Sep 2018 * * \copyright Copyright 2018-2024 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include "gul17/version.h" diff --git a/tests/test_OverloadSet.cc b/tests/test_OverloadSet.cc index 94689545..37efdfb6 100644 --- a/tests/test_OverloadSet.cc +++ b/tests/test_OverloadSet.cc @@ -1,23 +1,12 @@ /** - * \file test_OverloadSet.cc - * \author \ref contributors - * \date Created on May 31, 2023 - * \brief Unit tests for the OverloadSet class template. + * \file test_OverloadSet.cc + * \date Created on May 31, 2023 + * \brief Unit tests for the OverloadSet class template. * * \copyright Copyright 2023-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_SlidingBuffer.cc b/tests/test_SlidingBuffer.cc index d14dc7a8..8c4092ff 100644 --- a/tests/test_SlidingBuffer.cc +++ b/tests/test_SlidingBuffer.cc @@ -1,23 +1,12 @@ /** - * \file test_SlidingBuffer.cc - * \author \ref contributors - * \date Created on Feb 7, 2019 - * \brief Test suite for the SlidingBuffer{} + * \file test_SlidingBuffer.cc + * \date Created on Feb 7, 2019 + * \brief Test suite for the SlidingBuffer{} * * \copyright Copyright 2019-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_SmallVector.cc b/tests/test_SmallVector.cc index 44741e2b..bef9ae06 100644 --- a/tests/test_SmallVector.cc +++ b/tests/test_SmallVector.cc @@ -1,23 +1,12 @@ /** - * \file test_SmallVector.cc - * \author \ref contributors - * \date Created on August 17, 2020 - * \brief Test suite for the SmallVector class. + * \file test_SmallVector.cc + * \date Created on August 17, 2020 + * \brief Test suite for the SmallVector class. * * \copyright Copyright 2020-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_ThreadPool.cc b/tests/test_ThreadPool.cc index a20feda2..478b0f44 100644 --- a/tests/test_ThreadPool.cc +++ b/tests/test_ThreadPool.cc @@ -1,27 +1,14 @@ /** - * \file test_ThreadPool.h - * \authors \ref contributors - * \date Created on March 17, 2023 - * \brief Declaration of the ThreadPool class. + * \file test_ThreadPool.h + * \date Created on March 17, 2023 + * \brief Declaration of the ThreadPool class. * * \copyright Copyright 2023-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ -// SPDX-License-Identifier: LGPL-2.1-or-later - #include #include #include diff --git a/tests/test_Trigger.cc b/tests/test_Trigger.cc index fab1fd45..d9b072db 100644 --- a/tests/test_Trigger.cc +++ b/tests/test_Trigger.cc @@ -1,23 +1,12 @@ /** - * \file test_Trigger.cc - * \author \ref contributors - * \date Created on September 21, 2018 - * \brief Test suite for the Trigger class from the General Utility Library. + * \file test_Trigger.cc + * \date Created on September 21, 2018 + * \brief Test suite for the Trigger class from the General Utility Library. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_backports.cc b/tests/test_backports.cc index 06d178ea..e78ea36e 100644 --- a/tests/test_backports.cc +++ b/tests/test_backports.cc @@ -1,23 +1,12 @@ /** - * \file test_backports.cc - * \author \ref contributors - * \date Created on August 30, 2018 - * \brief Test suite for standard library backports in the General Utility Library. + * \file test_backports.cc + * \date Created on August 30, 2018 + * \brief Test suite for standard library backports in the General Utility Library. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_bit_manip.cc b/tests/test_bit_manip.cc index dff746e8..92999832 100644 --- a/tests/test_bit_manip.cc +++ b/tests/test_bit_manip.cc @@ -1,23 +1,12 @@ /** - * \file test_bit_manip.cc - * \author \ref contributors - * \date Created on 17 Oct 2019 - * \brief Unit tests for bit_set(), bit_reset(), bit_flip(), bit_test(). + * \file test_bit_manip.cc + * \date Created on 17 Oct 2019 + * \brief Unit tests for bit_set(), bit_reset(), bit_flip(), bit_test(). * * \copyright Copyright 2019-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_case_ascii.cc b/tests/test_case_ascii.cc index 2f3cbe95..03ee80fe 100644 --- a/tests/test_case_ascii.cc +++ b/tests/test_case_ascii.cc @@ -1,24 +1,13 @@ /** - * \file test_case_ascii.cc - * \author \ref contributors - * \date Created on May 28, 2019 - * \brief Test suite for lowercase_ascii(), lowercase_ascii_inplace(), uppercase_ascii(), - * and uppercase_ascii_inplace(). + * \file test_case_ascii.cc + * \date Created on May 28, 2019 + * \brief Test suite for lowercase_ascii(), lowercase_ascii_inplace(), uppercase_ascii(), + * and uppercase_ascii_inplace(). * * \copyright Copyright 2019-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_cat.cc b/tests/test_cat.cc index b0a9010b..6848e43c 100644 --- a/tests/test_cat.cc +++ b/tests/test_cat.cc @@ -1,23 +1,12 @@ /** - * \file test_cat.cc - * \author \ref contributors - * \date Created on August 30, 2018 - * \brief Test suite for cat() from the General Utility Library. + * \file test_cat.cc + * \date Created on August 30, 2018 + * \brief Test suite for cat() from the General Utility Library. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_escape.cc b/tests/test_escape.cc index ba061252..519acd2a 100644 --- a/tests/test_escape.cc +++ b/tests/test_escape.cc @@ -1,23 +1,12 @@ /** - * \file test_escape.cc - * \author \ref contributors - * \date Created on August 31, 2018 - * \brief Part of test suite for string utility functions in the General Utility Library. + * \file test_escape.cc + * \date Created on August 31, 2018 + * \brief Part of test suite for string utility functions in the General Utility Library. * * \copyright Copyright 2018-2026 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_expected.cc b/tests/test_expected.cc index 80c9a768..619248e7 100644 --- a/tests/test_expected.cc +++ b/tests/test_expected.cc @@ -1,23 +1,12 @@ /** - * \file test_expected.cc - * \author \ref contributors - * \date Created on March 20, 2023 - * \brief Unit tests for the expected class template. + * \file test_expected.cc + * \date Created on March 20, 2023 + * \brief Unit tests for the expected class template. * * \copyright Copyright 2023-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_finalizer.cc b/tests/test_finalizer.cc index 2cb39929..077c1d43 100644 --- a/tests/test_finalizer.cc +++ b/tests/test_finalizer.cc @@ -1,22 +1,11 @@ /** - * \file test_finalizer.cc - * \author \ref contributors - * \brief Test suite for hexdump() and hexdump_stream(). + * \file test_finalizer.cc + * \brief Test suite for hexdump() and hexdump_stream(). * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_gcd_lcm.cc b/tests/test_gcd_lcm.cc index d7e5cd4e..1669a043 100644 --- a/tests/test_gcd_lcm.cc +++ b/tests/test_gcd_lcm.cc @@ -1,23 +1,12 @@ /** - * \file test_gcd_lcm.cc - * \author \ref contributors - * \date Created on August 5, 2022 - * \brief Test suite for gcd() and lcm(). + * \file test_gcd_lcm.cc + * \date Created on August 5, 2022 + * \brief Test suite for gcd() and lcm(). * * \copyright Copyright 2022-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_hexdump.cc b/tests/test_hexdump.cc index 864ff608..5e79ff48 100644 --- a/tests/test_hexdump.cc +++ b/tests/test_hexdump.cc @@ -1,23 +1,12 @@ /** - * \file test_hexdump.cc - * \author \ref contributors - * \date Created on September 25, 2018 - * \brief Test suite for hexdump() and hexdump_stream(). + * \file test_hexdump.cc + * \date Created on September 25, 2018 + * \brief Test suite for hexdump() and hexdump_stream(). * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_join_split.cc b/tests/test_join_split.cc index f8c9aa69..d6355bee 100644 --- a/tests/test_join_split.cc +++ b/tests/test_join_split.cc @@ -1,23 +1,12 @@ /** - * \file test_join_split.cc - * \author \ref contributors - * \date Created on August 31, 2018 - * \brief Test suite for join(), split(), and split_sv(). + * \file test_join_split.cc + * \date Created on August 31, 2018 + * \brief Test suite for join(), split(), and split_sv(). * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_main.cc b/tests/test_main.cc index f335c0c5..93bdbea6 100644 --- a/tests/test_main.cc +++ b/tests/test_main.cc @@ -1,23 +1,12 @@ /** - * \file test_main.cc - * \author \ref contributors - * \date Created on August 28, 2018 - * \brief Test suite for the General Utility Library. + * \file test_main.cc + * \date Created on August 28, 2018 + * \brief Test suite for the General Utility Library. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #define CATCH_CONFIG_RUNNER diff --git a/tests/test_num_util.cc b/tests/test_num_util.cc index d7e52e47..58335e01 100644 --- a/tests/test_num_util.cc +++ b/tests/test_num_util.cc @@ -1,23 +1,12 @@ /** - * \file test_num_utils.cc - * \author \ref contributors - * \date Created on 7 Feb 2019 - * \brief Unit tests for within_orders(), within_abs(), and within_ulp(). + * \file test_num_utils.cc + * \date Created on 7 Feb 2019 + * \brief Unit tests for within_orders(), within_abs(), and within_ulp(). * * \copyright Copyright 2019-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_replace.cc b/tests/test_replace.cc index cd6f3609..b4d1a76b 100644 --- a/tests/test_replace.cc +++ b/tests/test_replace.cc @@ -1,23 +1,12 @@ /** - * \file test_replace.cc - * \author \ref contributors - * \date Created on August 31, 2018 - * \brief Part of test suite for string utility functions in the General Utility Library. + * \file test_replace.cc + * \date Created on August 31, 2018 + * \brief Part of test suite for string utility functions in the General Utility Library. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_self_containment.cc.in b/tests/test_self_containment.cc.in index 0be937bc..9ee71555 100644 --- a/tests/test_self_containment.cc.in +++ b/tests/test_self_containment.cc.in @@ -1,23 +1,12 @@ /** - * \file test_self_containment.cc.in - * \author \ref contributors - * \date Created on August 21, 2019 - * \brief Used to check if the individual headers are self-contained + * \file test_self_containment.cc.in + * \date Created on August 21, 2019 + * \brief Used to check if the individual headers are self-contained * * \copyright Copyright 2019 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include "@HEADER_TO_INCLUDE@" diff --git a/tests/test_statistics.cc b/tests/test_statistics.cc index 69fdcf98..f872a034 100644 --- a/tests/test_statistics.cc +++ b/tests/test_statistics.cc @@ -1,23 +1,12 @@ /** - * \file test_statistics.cc - * \author \ref contributors - * \date Created on Feb 7, 2019 - * \brief Test suite for statistics functions. + * \file test_statistics.cc + * \date Created on Feb 7, 2019 + * \brief Test suite for statistics functions. * * \copyright Copyright 2019-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_string_util.cc b/tests/test_string_util.cc index d2a67833..5f7c5de8 100644 --- a/tests/test_string_util.cc +++ b/tests/test_string_util.cc @@ -1,23 +1,12 @@ /** - * \file test_string_util.cc - * \author \ref contributors - * \date Created on August 11, 2021 - * \brief Unit tests for string utility functions. + * \file test_string_util.cc + * \date Created on August 11, 2021 + * \brief Unit tests for string utility functions. * * \copyright Copyright 2021-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_substring_checks.cc b/tests/test_substring_checks.cc index 22f1865b..138b3a8e 100644 --- a/tests/test_substring_checks.cc +++ b/tests/test_substring_checks.cc @@ -1,23 +1,12 @@ /** - * \file test_substring_checks.cc - * \author \ref contributors - * \date Created on November 26, 2018 - * \brief Test suite for contains(), ends_with(), and starts_with(). + * \file test_substring_checks.cc + * \date Created on November 26, 2018 + * \brief Test suite for contains(), ends_with(), and starts_with(). * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_time_util.cc b/tests/test_time_util.cc index fba1e5a5..7d4be377 100644 --- a/tests/test_time_util.cc +++ b/tests/test_time_util.cc @@ -1,23 +1,12 @@ /** - * \file test_time_util.cc - * \author \ref contributors - * \date Created on September 7, 2018 - * \brief Test suite for tic(), toc(), and sleep() from the General Utility Library. + * \file test_time_util.cc + * \date Created on September 7, 2018 + * \brief Test suite for tic(), toc(), and sleep() from the General Utility Library. * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_to_number.cc b/tests/test_to_number.cc index 3eebfc2b..5d4b67eb 100644 --- a/tests/test_to_number.cc +++ b/tests/test_to_number.cc @@ -1,23 +1,12 @@ /** - * \file test_to_number.cc - * \author \ref contributors - * \date Created on July 19, 2019 - * \brief Test suite for to_number(). + * \file test_to_number.cc + * \date Created on July 19, 2019 + * \brief Test suite for to_number(). * * \copyright Copyright 2019-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_tokenize.cc b/tests/test_tokenize.cc index 1c41f7a4..a704aa13 100644 --- a/tests/test_tokenize.cc +++ b/tests/test_tokenize.cc @@ -1,23 +1,12 @@ /** - * \file test_tokenize.cc - * \author \ref contributors - * \date Created on September 3, 2018 - * \brief Test suite for tokenize() and tokenize_sv(). + * \file test_tokenize.cc + * \date Created on September 3, 2018 + * \brief Test suite for tokenize() and tokenize_sv(). * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_trim.cc b/tests/test_trim.cc index 0c6daaf1..13ae58a4 100644 --- a/tests/test_trim.cc +++ b/tests/test_trim.cc @@ -1,24 +1,13 @@ /** - * \file test_trim.cc - * \author \ref contributors - * \date Created on September 19, 2018 - * \brief Unit tests for trim(), trim_left(), trim_right(), trim_inplace(), - * trim_left_inplace(), and trim_right_inplace(). + * \file test_trim.cc + * \date Created on September 19, 2018 + * \brief Unit tests for trim(), trim_left(), trim_right(), trim_inplace(), + * trim_left_inplace(), and trim_right_inplace(). * * \copyright Copyright 2018-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include diff --git a/tests/test_type_name.cc b/tests/test_type_name.cc index 03108a3d..13aaf9a9 100644 --- a/tests/test_type_name.cc +++ b/tests/test_type_name.cc @@ -1,23 +1,12 @@ /** - * \file test_type_name.cc - * \author \ref contributors - * \date Created on April 11, 2019 - * \brief Test suite for type_name(). + * \file test_type_name.cc + * \date Created on April 11, 2019 + * \brief Test suite for type_name(). * * \copyright Copyright 2019-2025 Deutsches Elektronen-Synchrotron (DESY), Hamburg * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 2.1 of the license, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . + * Distributed under the Boost Software License, Version 1.0 (see \ref license_boost_1_0 + * or https://www.boost.org/LICENSE_1_0.txt). */ #include