Skip to content

Conversion operator are erroneously shown as operator &. #1259

Description

@correaa

The functions below are titled as operator & functions, but they are really cast operators, nothing to do with actually .operator&.
Perhaps MrDocs gets confused because these are templates.

template<class CArray>
requires std::is_array_v<CArray>
constexpr
explicit
operator CArray&() &;

template<class CArray>
requires std::is_array_v<CArray>
constexpr
explicit
operator CArray&() &&;

template<
    typename To,
    int = 0>
requires std::is_array_v<To>
constexpr
explicit
operator To&() &&;

template<
    typename To,
    int = 0>
requires std::is_array_v<To>
constexpr
explicit
operator To&() &;

See full example here: https://correaa.github.io/boost-multi/multi/reference/boost/multi/array-0ad/2conversion-00.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixSomething that is broken / incorrect behavior

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions