Skip to content

Commit 0e6c6aa

Browse files
committed
Re-license under Boost Software License (BSL)
1 parent a7a4415 commit 0e6c6aa

File tree

10 files changed

+45
-45
lines changed

10 files changed

+45
-45
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Copyright 2017 by Martin Moene
1+
# Copyright 2017-2018 by Martin Moene
22
#
33
# https://github.com/martinmoene/optional-bare
44
#
5-
# This code is licensed under the MIT License (MIT).
5+
# Distributed under the Boost Software License, Version 1.0.
6+
# (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67

78
cmake_minimum_required( VERSION 2.8.12 )
89

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

LICENSE.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Boost Software License - Version 1.0 - August 17th, 2003
2+
3+
Permission is hereby granted, free of charge, to any person or organization
4+
obtaining a copy of the software and accompanying documentation covered by
5+
this license (the "Software") to use, reproduce, display, distribute,
6+
execute, and transmit the Software, and to prepare derivative works of the
7+
Software, and to permit third-parties to whom the Software is furnished to
8+
do so, all subject to the following:
9+
10+
The copyright notices in the Software and this entire statement, including
11+
the above license grant, this restriction and the following disclaimer,
12+
must be included in all copies of the Software, in whole or in part, and
13+
all derivative works of the Software, unless such copies or derivative
14+
works are solely in the form of machine-executable object code generated by
15+
a source language processor.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
optional bare - A simple single-file header-only version of a C++17-like optional for default-constructible, copyable types, for C++98 and later
22
====================================================
3-
[![Language](https://img.shields.io/badge/language-C++-blue.svg)](https://isocpp.org/) [![Standard](https://img.shields.io/badge/c%2B%2B-98-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Build Status](https://travis-ci.org/martinmoene/optional-bare.svg?branch=master)](https://travis-ci.org/martinmoene/optional-bare) [![Build status](https://ci.appveyor.com/api/projects/status/xl1lrm4cfdi08431?svg=true)](https://ci.appveyor.com/project/martinmoene/optional-bare) [![Version](https://badge.fury.io/gh/martinmoene%2Foptional-bare.svg)](https://github.com/martinmoene/optional-bare/releases) [![download](https://img.shields.io/badge/latest%20version%20%20-download-blue.svg)](https://raw.githubusercontent.com/martinmoene/optional-bare/master/include/nonstd/optional.hpp) [![Try it online](https://img.shields.io/badge/try%20it-online-blue.svg)](https://wandbox.org/permlink/YAWZ1gyu1zDFGh9V)
3+
[![Language](https://img.shields.io/badge/language-C++-blue.svg)](https://isocpp.org/) [![Standard](https://img.shields.io/badge/c%2B%2B-98-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-BSL-blue.svg)](https://opensource.org/licenses/BSL-1.0) [![Build Status](https://travis-ci.org/martinmoene/optional-bare.svg?branch=master)](https://travis-ci.org/martinmoene/optional-bare) [![Build status](https://ci.appveyor.com/api/projects/status/xl1lrm4cfdi08431?svg=true)](https://ci.appveyor.com/project/martinmoene/optional-bare) [![Version](https://badge.fury.io/gh/martinmoene%2Foptional-bare.svg)](https://github.com/martinmoene/optional-bare/releases) [![download](https://img.shields.io/badge/latest%20version%20%20-download-blue.svg)](https://raw.githubusercontent.com/martinmoene/optional-bare/master/include/nonstd/optional.hpp) [![Try it online](https://img.shields.io/badge/try%20it-online-blue.svg)](https://wandbox.org/permlink/YAWZ1gyu1zDFGh9V)
44

55
**Contents**
66
- [Example usage](#example-usage)
@@ -61,7 +61,7 @@ For more examples, see [this answer on StackOverflow](http://stackoverflow.com/a
6161
6262
License
6363
-------
64-
*optional bare* uses the [MIT](LICENSE) license.
64+
*optional bare* is distributed under the [Boost Software License](LICENSE.txt).
6565
6666
6767
Dependencies

include/nonstd/optional.hpp

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
//
2-
// Copyright (c) 2017 Martin Moene
2+
// Copyright 2017-2018 by Martin Moene
33
//
44
// https://github.com/martinmoene/optional-bare
55
//
6-
// This code is licensed under the MIT License (MIT).
7-
//
8-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
11-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
13-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
14-
// THE SOFTWARE.
6+
// Distributed under the Boost Software License, Version 1.0.
7+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
158

169
#ifndef NONSTD_OPTIONAL_BARE_HPP
1710
#define NONSTD_OPTIONAL_BARE_HPP
1811

19-
#define optional_bare_VERSION "0.0.0"
12+
#define optional_bare_VERSION "1.0.0"
2013

2114
#include <cassert>
2215
#include <stdexcept>

test/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Copyright 2017 by Martin Moene
1+
# Copyright 2017-2018 by Martin Moene
22
#
33
# https://github.com/martinmoene/optional-bare
44
#
5-
# This code is licensed under the MIT License (MIT).
5+
# Distributed under the Boost Software License, Version 1.0.
6+
# (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67

78
cmake_minimum_required( VERSION 2.8.12 )
89

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2014 by Martin Moene
1+
# Copyright 2017-2018 by Martin Moene
22
#
33
# Distributed under the Boost Software License, Version 1.0. (See accompanying
44
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

test/optional-bare.t.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
// Copyright (c) 2017 Martin Moene
1+
// Copyright 2017-2018 by Martin Moene
22
//
33
// https://github.com/martinmoene/optional-bare
44
//
5-
// This code is licensed under the MIT License (MIT).
5+
// Distributed under the Boost Software License, Version 1.0.
6+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67

78
#include "optional-bare.t.h"
89

test/optional-bare.t.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
// Copyright (c) 2017 Martin Moene
1+
// Copyright 2017-2018 by Martin Moene
22
//
33
// https://github.com/martinmoene/optional-bare
44
//
5-
// This code is licensed under the MIT License (MIT).
5+
// Distributed under the Boost Software License, Version 1.0.
6+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67

78
#pragma once
89

test/optional.t.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//
2-
// Copyright 2017 by Martin Moene
2+
// Copyright 2017-2018 by Martin Moene
33
//
4-
// This code is licensed under the MIT License (MIT).
4+
// Distributed under the Boost Software License, Version 1.0.
5+
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
56
//
67
// optional bare is derived from optional lite. optional lite is inspired on std::optional
78
// by Fernando Cacciola and Andrzej Krzemienski and on expected lite by Martin Moene.

0 commit comments

Comments
 (0)