Skip to content

Conversation

@hliberacki
Copy link
Owner

After adding perfect forwarding - some examples where not updated that made them crash

  • Extend CI to build examples

Extended CI job to build examples

  • Extend CI to test on various C++ version

CI now build the code using C++ [14, 20, 23], using [gcc, clang, msvc] running on Windows, Linux, MacOS

Copilot AI review requested due to automatic review settings October 13, 2025 23:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes compilation issues in examples that occurred after adding perfect forwarding functionality. The changes ensure examples compile correctly and extends CI to build examples and test across multiple C++ versions and compilers.

  • Modified example files to use variables instead of literal values for function calls
  • Extended CI to build examples and test on C++14, 20, and 23 with gcc/clang across Windows, Linux, and macOS
  • Added compiler setup steps for Linux/macOS platforms

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
examples/no_macro.cpp Replaced literal values with variables in function calls and added scope blocks
examples/access_function.cpp Replaced literal values with variables in function calls
.github/workflows/ci_pipeline.yml Extended CI matrix to test multiple C++ standards and compilers, added example building

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@hliberacki hliberacki force-pushed the fix_examples branch 4 times, most recently from 37d4d0f to 42e9a8d Compare October 14, 2025 00:12
Repository owner deleted a comment from Copilot AI Oct 14, 2025
Repository owner deleted a comment from Copilot AI Oct 14, 2025
@hliberacki hliberacki requested a review from Copilot October 14, 2025 00:36
@hliberacki hliberacki self-assigned this Oct 14, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

After adding perfect forwarding - some examples where not updated that
made them crash

- Extend CI to build examples

Extended CI job to build examples

- Extend CI to test on various C++ version

CI now build the code using C++ [14, 20, 23], using [gcc, clang, msvc]
running on Windows, Linux, MacOS
@hliberacki hliberacki merged commit 5e4d52f into master Oct 14, 2025
10 checks passed
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.

1 participant