good-smart-pointer.cpp
changeset 1 4502b1c7346d
parent 0 e4f2d6d0e869
     1.1 --- a/good-smart-pointer.cpp	Wed Oct 30 02:44:44 2024 +0100
     1.2 +++ b/good-smart-pointer.cpp	Wed Oct 30 02:51:12 2024 +0100
     1.3 @@ -1,3 +1,20 @@
     1.4 +/**
     1.5 + * cpp-finally
     1.6 + * Copyright © 2024 František Kučera (Frantovo.cz, GlobalCode.info)
     1.7 + *
     1.8 + * This program is free software: you can redistribute it and/or modify
     1.9 + * it under the terms of the GNU General Public License as published by
    1.10 + * the Free Software Foundation, version 3 of the License.
    1.11 + *
    1.12 + * This program is distributed in the hope that it will be useful,
    1.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    1.15 + * GNU General Public License for more details.
    1.16 + *
    1.17 + * You should have received a copy of the GNU General Public License
    1.18 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
    1.19 + */
    1.20 +
    1.21  #include <iostream>
    1.22  #include <exception>
    1.23  #include <memory>