Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Renamed io/dynamic_io_new.hpp to io/detail/dynamic.hpp #653

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

marco-langer
Copy link
Contributor

@marco-langer marco-langer commented Apr 26, 2022

Description

Renamed io/dynamic_io_new.hpp to io/detail/dynamic.hpp.

The function construct_matched was only used by other detail headers, thus I moved the function into the detail namespace as already suggested in the issue. Additionally I moved the whole file into the detail directory, because it only contains details now.

References

Fixes #189

Tasklist

  • Ensure all CI builds pass
  • Review and approve

@mloskot mloskot added the cat/refactoring Any nonfunctional changes label Apr 27, 2022
@mloskot mloskot added this to the Boost 1.78+ milestone Apr 27, 2022
@mloskot mloskot changed the title renamed io/dynamic_io_new.hpp to io/detail/dynamic.hpp refactor: Renamed io/dynamic_io_new.hpp to io/detail/dynamic.hpp Apr 27, 2022
Copy link
Member

@mloskot mloskot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@mloskot mloskot merged commit 9d526ed into boostorg:develop Apr 27, 2022
@mloskot mloskot mentioned this pull request May 12, 2022
6 tasks
@simmplecoder
Copy link
Contributor

simmplecoder commented May 13, 2022

I guess I am a bit late, but this commit seems to be the one breaking the build for me. In all of the write.hpp headers of I/O extensions, dynamic.hpp is missing and that causes build error.
Without including dynamic.hpp, the build will complain that dynamic_io_fnobj is not present in detail namespace. Including the header fixes the problem.

@sdebionne
Copy link
Contributor

dynamic_io_new.hpp was indeed renamed/moved in the include list of read.hpp while it was completely removed from write.hpp.

@simmplecoder simmplecoder mentioned this pull request May 13, 2022
2 tasks
mloskot pushed a commit that referenced this pull request May 13, 2022
The error was due to missing dynamic.hpp (renamed in #653)
header that contained dynamic_io_fnobj.
Adding the header back in to write.hpp
headers of io extensions fixed the problem.
faithandbrave added a commit to faithandbrave/website that referenced this pull request Jul 30, 2022
s/construct_method/construct_matched/
boostorg/gil#653
striezel added a commit to striezel-stash/gil that referenced this pull request Aug 2, 2022
That typo was already fixed for the Boost website in commit
<boostorg/website@be79716>,
but the change has not made it back to GIL - yet.

[ci skip]
mloskot pushed a commit that referenced this pull request Aug 2, 2022
That typo was already fixed for the Boost website in commit
<boostorg/website@be79716>,
but the change has not made it back to GIL - yet.

[ci skip]
mloskot added a commit that referenced this pull request Aug 2, 2022
* develop:
  docs: fix typo in release notes for #653 (#714)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat/refactoring Any nonfunctional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename io/dynamic_io_new.hpp to io/dynamic.hpp
4 participants