Skip to content

[cmplx.over], [cmath.syn] use of undefined phrase "effectively cast" #1248

Description

@jensmaurer

What kind of cast are we talking about here? reinterpret_cast?

Likely we mean "apply floating-point promotions, floating-integral conversions, and floating-point conversions", but that should be spelled out somewhere, e.g. in the library definitions section.

Alternatively, just saying "converted" (with an optional cross-reference to [conv]) should be sufficient.

(Source: Dawn's list of issues discovered during review/integration of the math special functions.)

Activity

  1. jensmaurer commented on Dec 15, 2016

    @jensmaurer
    MemberAuthor

    Subject: New LWG issue: undefined phrase "effectively cast"
    To: Marshall Clow lwgchair@gmail.com

    In [cmplx.over] and [cmath.syn], when talking about
    "sufficient additional overloads", we use the phrase
    "effectively cast", but that is not a defined term.

    A hostile interpretation could read "reinterpret_cast"
    here.

    Likely we mean "apply floating-point promotions, floating-integral
    conversions, and floating-point conversions", but that should be
    spelled out somewhere, e.g. in the library definitions section.

  2. jensmaurer commented on Jan 22, 2017

    @jensmaurer
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lwgIssue must be reviewed by LWG.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions