Skip to content

Add noexcept to destructors to support /Zc:implicitNoexcept-. Fixes #557. - #636

Merged
grisumbras merged 1 commit into
developfrom
pr/issue-557
Oct 8, 2021
Merged

Add noexcept to destructors to support /Zc:implicitNoexcept-. Fixes #557.#636
grisumbras merged 1 commit into
developfrom
pr/issue-557

Conversation

@pdimov

@pdimovpdimov commented Oct 8, 2021

Copy link
Copy Markdown
Member

Fix#557

@codecov

codecovBot commented Oct 8, 2021

Copy link
Copy Markdown

Codecov Report

Merging #636 (d085e86) into develop (9af467c) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@## develop #636 +/- ##
========================================
Coverage 99.05% 99.05% ========================================
Files 68 68 Lines 6119 6119 ========================================
Hits 6061 6061 Misses 58 58 
Impacted FilesCoverage Δ
include/boost/json/array.hpp100.00% <ø> (ø)
include/boost/json/object.hpp100.00% <ø> (ø)
include/boost/json/impl/array.ipp100.00% <100.00%> (ø)
include/boost/json/impl/object.ipp100.00% <100.00%> (ø)
include/boost/json/impl/value.ipp100.00% <100.00%> (ø)
include/boost/json/storage_ptr.hpp100.00% <100.00%> (ø)
include/boost/json/string.hpp100.00% <100.00%> (ø)
include/boost/json/value.hpp98.98% <100.00%> (ø)

Continue to review full report at Codecov.

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

@cppalliance-bot

Copy link
Copy Markdown

@grisumbras
grisumbras merged commit d085e86 into developOct 8, 2021
@grisumbras
grisumbras deleted the pr/issue-557 branch October 8, 2021 20:43
jaykrell added a commit to jaykrell/iostreams that referenced this pull request Oct 21, 2021
…Noexcept-.
Otherwise gets:
Error C2694 'override': overriding virtual function
has less restrictive exception specification than base class virtual
member function 'base'
Similar changes are being made e.g.:
boostorg/json#636
jaykrell added a commit to jaykrell/format that referenced this pull request Oct 21, 2021
/Zc:implicitNoexcept-.
Otherwise gets:
Error C2694 'override': overriding virtual function
has less restrictive exception specification than base
class virtual member function 'base'
Similar changes are being made e.g.:
boostorg/json#636
And proposed here:
boostorg/iostreams#136
I grant there there could be more of this.
These two are just enough for our codebase.
jaykrell added a commit to jaykrell/iostreams that referenced this pull request Jul 12, 2024
…Noexcept-.
Otherwise gets:
Error C2694 'override': overriding virtual function
has less restrictive exception specification than base class virtual
member function 'base'
Similar changes are being made e.g.:
boostorg/json#636
jaykrell added a commit to jaykrell/format that referenced this pull request Jul 12, 2024
/Zc:implicitNoexcept-.
Otherwise gets:
Error C2694 'override': overriding virtual function
has less restrictive exception specification than base
class virtual member function 'base'
Similar changes are being made e.g.:
boostorg/json#636
And proposed here:
boostorg/iostreams#136
I grant there there could be more of this.
These two are just enough for our codebase.
Sign up for freeto 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.

boost.json won't compile with visual studio and /Zc:implicitNoexcept-

3 participants

@pdimov@cppalliance-bot@grisumbras