Skip to content

Explicit conversion example in docs should use template get #4038

Closed
@tusooa

Description

@tusooa

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions