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

Explicit conversion example in docs should use template get #4038

Closed
2 tasks
tusooa opened this issue May 22, 2023 · 0 comments · Fixed by #4039
Closed
2 tasks

Explicit conversion example in docs should use template get #4038

tusooa opened this issue May 22, 2023 · 0 comments · Fixed by #4039

Comments

@tusooa
Copy link
Contributor

tusooa commented May 22, 2023

Description

Follow up of #3827 .

As get<>() may not always work, the documentation SHOULD use template get<>() instead of get<>() in the examples to avoid confusion.

Reproduction steps

use the explicit conversion described in the example

Expected vs. actual results

expected: works

actual: compilation failure

Minimal code example

No response

Error messages

No response

Compiler and operating system

g++ 12 on GNU/Linux

Library version

3.11.2

Validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants