Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-8599

std::reference_wrapper doesn't define argument_type for classes containing a typedef member named argument_type

    XMLWordPrintable

Details

    • Bug
    • Status: New
    • Medium
    • Resolution: Unresolved
    • Code Generation Tools
    • CODEGEN-3959
    • Hide
      ARM_18.1.0.LTS
      ARM_18.12.0.LTS
      ARM_20.2.0.LTS
      Show
      ARM_18.1.0.LTS ARM_18.12.0.LTS ARM_20.2.0.LTS
    • Hide
      C++14 section 20.9.3 paragraph 3 states that a reference_wrapper<T> shall define a typedef argument_type if T is a class type with a member type named argument_type.

      The implementation does not support this, and only defines the member types described in paragraphs 2, 3, and 4 if T inherits or is convertible to unary_function or binary_function.
      Show
      C++14 section 20.9.3 paragraph 3 states that a reference_wrapper<T> shall define a typedef argument_type if T is a class type with a member type named argument_type. The implementation does not support this, and only defines the member types described in paragraphs 2, 3, and 4 if T inherits or is convertible to unary_function or binary_function.

    Description

      std::reference_wrapper doesn't define argument_type for classes containing a typedef member named argument_type

      Attachments

        Activity

          People

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: