Skip to content

Deprecate basic_facade_builder::add_facade<F, true>#27

Open
mingxwa wants to merge 1 commit intongcpp:mainfrom
mingxwa:user/mingxwa/add-facade-deprecation
Open

Deprecate basic_facade_builder::add_facade<F, true>#27
mingxwa wants to merge 1 commit intongcpp:mainfrom
mingxwa:user/mingxwa/add-facade-deprecation

Conversation

@mingxwa
Copy link
Copy Markdown
Collaborator

@mingxwa mingxwa commented Apr 14, 2026

As per user feedback, the syntax of basic_facade_builder::add_facade<F, true> is not intuitive enough. This PR deprecated that usage, and introduced a more explicit API add_facade_with_substitution.

Changes

  • Implemented details::add_facade_deprecation_traits to generate deprecation diagnostics.
  • Added new API basic_facade_builder::add_facade_with_substitution.
  • Updated unit tests accordingly.

This comment was marked as spam.

@mingxwa mingxwa requested a review from Copilot April 14, 2026 14:46

This comment was marked as spam.

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.

2 participants