Summary: Deduce base type from vector types in templates
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Manu <> 2012-01-31 10:30:19 PST ---
Something like this (Not sure if I have the syntax quite right):

template BaseTypeOfVector(T : __vector(T[N]), size_t N)
  T is the type of the vector
  N is the number of elements

It's important to be able to know the type and width of vectors at compile time
to generate appropriate code.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to