Skip to content

use value_from for initializer_list construction#1146

Merged
grisumbras merged 1 commit intoboostorg:developfrom
grisumbras:feature/init-list-value-from
Feb 24, 2026
Merged

use value_from for initializer_list construction#1146
grisumbras merged 1 commit intoboostorg:developfrom
grisumbras:feature/init-list-value-from

Conversation

@grisumbras
Copy link
Copy Markdown
Member

Fix #1126.

@cppalliance-bot
Copy link
Copy Markdown

cppalliance-bot commented Feb 24, 2026

An automated preview of the documentation is available at https://1146.json.prtest2.cppalliance.org/libs/json/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-02-24 19:50:44 UTC

@cppalliance-bot
Copy link
Copy Markdown

cppalliance-bot commented Feb 24, 2026

GCOVR code coverage report https://1146.json.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://1146.json.prtest2.cppalliance.org/genhtml/index.html
Coverage Diff Report https://1146.json.prtest2.cppalliance.org/diff-report/index.html

Build time: 2026-02-24 20:06:20 UTC

@cppalliance-bot
Copy link
Copy Markdown

@grisumbras grisumbras force-pushed the feature/init-list-value-from branch from 776d4c7 to 133b48d Compare February 24, 2026 19:41
@grisumbras grisumbras merged commit 133b48d into boostorg:develop Feb 24, 2026
3 checks passed
@grisumbras grisumbras deleted the feature/init-list-value-from branch February 24, 2026 21:20
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.67%. Comparing base (4df9a86) to head (133b48d).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1146      +/-   ##
===========================================
- Coverage    93.67%   93.67%   -0.01%     
===========================================
  Files           91       91              
  Lines         9154     9153       -1     
===========================================
- Hits          8575     8574       -1     
  Misses         579      579              
Files with missing lines Coverage Δ
include/boost/json/detail/parse_into.hpp 99.33% <ø> (ø)
include/boost/json/detail/value_from.hpp 100.00% <ø> (ø)
include/boost/json/impl/conversion.hpp 100.00% <ø> (ø)
include/boost/json/impl/value_ref.hpp 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4df9a86...133b48d. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Recover ability to initialize json::value directly from C++ objects by way of automatically using value_from

2 participants