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

#145 Expand swap() support for basic node #163

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

fktn-k
Copy link
Owner

@fktn-k fktn-k commented Oct 19, 2023

Before this PR, non-default basic_node template instance classes are not specialized for swap().
To improve the quality of user-defined customization of basic_node template class, I have replaced the overloaded version of std::swap() with the one defined in the fkyaml namespace.
The library users will still be able to call swap() for fkyaml::node instances just as they did before this PR, which means that backward compatibility is still guranteed.

@fktn-k fktn-k added the improvement refactoring or optimization without public API changes label Oct 19, 2023
@fktn-k fktn-k added this to the Release v0.1.3 milestone Oct 19, 2023
@fktn-k fktn-k self-assigned this Oct 19, 2023
@fktn-k fktn-k merged commit 9c6e1a1 into develop Oct 19, 2023
104 checks passed
@fktn-k fktn-k deleted the feature/145_expand_swap_support_for_basic_node branch October 19, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement refactoring or optimization without public API changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant