std::rethrow_if_nested does not have standard signature

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Code Generation Tools
    • CODEGEN-3938
    • 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
      The standard states that std::rethrow_if_nested have the signature:

      template <class E> void rethrow_if_nested(const E& e); // C++14 18.8.6 p9

      The library implementation adds a second paramter to its definition of the function for the purpose of utilizing SFINAE.

      This only affects uses of std::rethrow_if_nested if attempting to describe its signature as a type. As an example, the following attempt to capture the function pointer in a variable will fail to compile:

      void (*p)(const int&) = &std::rethrow_if_nested<int>;
      Show
      The standard states that std::rethrow_if_nested have the signature: template <class E> void rethrow_if_nested(const E& e); // C++14 18.8.6 p9 The library implementation adds a second paramter to its definition of the function for the purpose of utilizing SFINAE. This only affects uses of std::rethrow_if_nested if attempting to describe its signature as a type. As an example, the following attempt to capture the function pointer in a variable will fail to compile: void (*p)(const int&) = &std::rethrow_if_nested<int>;

      std::rethrow_if_nested does not have standard signature

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-1109 - std::rethrow_if_nested does not hav...
                SYNCHRONIZED
                • Last Sync Date: