Unimplemented core issue 1467: Overloads and initializations with single-element initializer_list

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Code Generation Tools
    • CODEGEN-3964
    • Hide
      ARM_18.1.0.LTS
      MSP430_18.1.0.LTS
      MSP430_20.2.0.LTS
      ARM_18.12.0.LTS
      MSP430_21.6.0.LTS
      MSP430_18.12.0.LTS
      ARM_20.2.0.LTS
      Show
      ARM_18.1.0.LTS MSP430_18.1.0.LTS MSP430_20.2.0.LTS ARM_18.12.0.LTS MSP430_21.6.0.LTS MSP430_18.12.0.LTS ARM_20.2.0.LTS
    • Hide
      This core issue has gone many iterations of fixes, and boils down to the issue of:

      void foo(int x); // #1
      void foo(std::initializer_list<char> x); // #2
      foo({23}); // Calls #1 or #2?

      The compiler currently calls #1, while gcc/clang both call #2.
      Show
      This core issue has gone many iterations of fixes, and boils down to the issue of: void foo(int x); // #1 void foo(std::initializer_list<char> x); // #2 foo({23}); // Calls #1 or #2? The compiler currently calls #1, while gcc/clang both call #2.

      Unimplemented core issue 1467: Overloads and initializations with single-element initializer_list

            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-1065 - Unimplemented core issue 1467: Over...
                SYNCHRONIZED
                • Last Sync Date: