Skip to content

Commit

Permalink
Release 0.8.0 - Fixes #66
Browse files Browse the repository at this point in the history
Update test suite for use with C++23 std::expected.
Deprecate unexpected[_type]::value(); use unexpected[_type]::error().
  • Loading branch information
martinmoene committed Jun 5, 2024
1 parent 2b45544 commit 182165b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cmake_minimum_required( VERSION 3.5 FATAL_ERROR )

project(
expected_lite
VERSION 0.7.0
VERSION 0.8.0
LANGUAGES CXX )

set(PROJECT_DESCRIPTION "Expected objects in C++11 and later in a single-file header-only library")
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from conans import ConanFile, CMake

class ExpectedLiteConan(ConanFile):
version = "0.7.0"
version = "0.8.0"
name = "expected-lite"
description = "Expected objects for C++11 and later"
license = "Boost Software License - Version 1.0. http://www.boost.org/LICENSE_1_0.txt"
Expand Down
2 changes: 1 addition & 1 deletion include/nonstd/expected.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define NONSTD_EXPECTED_LITE_HPP

#define expected_lite_MAJOR 0
#define expected_lite_MINOR 7
#define expected_lite_MINOR 8
#define expected_lite_PATCH 0

#define expected_lite_VERSION expected_STRINGIFY(expected_lite_MAJOR) "." expected_STRINGIFY(expected_lite_MINOR) "." expected_STRINGIFY(expected_lite_PATCH)
Expand Down

0 comments on commit 182165b

Please sign in to comment.