Skip to content

Conversation

asopov-here
Copy link
Collaborator

Currently, SDK requires C++11 minimum.
So, boost::optional type is used for optional values. For C++17 and above more convenient is to use std::optional instead. The task NLAM-23 is about making this type configurable. This commit is a renaming of the initially proposed "optional.hpp" into optional.h to avoid clang-format header sorting issue.

Relates-To: NLAM-23

@asopov-here asopov-here force-pushed the NLAM-23-std-optional-2 branch 2 times, most recently from b41f6bd to 4ba2ba7 Compare August 8, 2025 17:03
Copy link

codecov bot commented Aug 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.30%. Comparing base (a03183a) to head (0fb92d6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1628      +/-   ##
==========================================
+ Coverage   80.27%   80.30%   +0.02%     
==========================================
  Files         349      349              
  Lines       13945    13947       +2     
  Branches     1492     1493       +1     
==========================================
+ Hits        11194    11199       +5     
+ Misses       2150     2149       -1     
+ Partials      601      599       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@asopov-here asopov-here marked this pull request as ready for review August 8, 2025 17:28
@asopov-here asopov-here changed the title rename old/porting/optional.hpp into optional.h rename olp/porting/optional.hpp into optional.h Aug 11, 2025
@asopov-here asopov-here force-pushed the NLAM-23-std-optional-2 branch from c56c2c6 to 0fb92d6 Compare August 11, 2025 07:24
Currently, SDK requires C++11 minimum.
So, boost::optional type is used for optional values.
For C++17 and above more convenient is to use std::optional instead.
The task NLAM-23 is about making this type configurable.
This commit is a renaming of the initially proposed "optional.hpp"
into optional.h to avoid clang-format header sorting issue.

Relates-To: NLAM-23
Signed-off-by: sopov <[email protected]>
@asopov-here asopov-here force-pushed the NLAM-23-std-optional-2 branch from 0fb92d6 to 5490ce4 Compare August 11, 2025 07:46
@asopov-here asopov-here merged commit ba2156c into master Aug 11, 2025
20 checks passed
@asopov-here asopov-here deleted the NLAM-23-std-optional-2 branch August 11, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants