[
https://issues.apache.org/jira/browse/MINIFICPP-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi resolved MINIFICPP-2529.
--------------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
> Upgrade expected_lite to v0.8.0
> -------------------------------
>
> Key: MINIFICPP-2529
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2529
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Ferenc Gerlits
> Assignee: Ferenc Gerlits
> Priority: Minor
> Fix For: 1.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Visual Studio 17.13 (finally) provides the C++23 feature std::expected, so
> expected_lite tries to use it and act as a wrapper around it. However, the
> old version we use, v0.6.0, only wraps std::expected, so the compilation
> fails.
> [https://github.com/martinmoene/expected-lite/blob/v0.6.0/include/nonstd/expected.hpp#L216-L220]
> The latest release, v0.8.0, wraps all required symbols including
> std::unexpect and std::unexpected_type etc:
> [https://github.com/martinmoene/expected-lite/blob/v0.8.0/include/nonstd/expected.hpp#L231-L251]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)