http://llvm.org/bugs/show_bug.cgi?id=12669

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID

--- Comment #2 from Richard Smith <[email protected]> 2012-04-25 
21:13:19 CDT ---
foo<1,2,3,4,5,6,7,8,9,10>::contains is odr-used by this program, and odr-uses
foo<1,2,3,4,5,6,7,8,9,10>::values, which has no definition, so the program is
ill-formed. Add a definition of 'values' to make your code valid:

template<int... Values> constexpr int
foo<Values...>::values[sizeof...(Values)];

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to