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

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Richard Smith <[email protected]> ---
(In reply to comment #2)
> Um, care to enlighten me how? I thought 
> 
> static constexpr unsigned max = 2;
> 
> was the definition.

No, that's just a declaration. You need a definition outside the class:

const unsigned Bug::max;

> Why is std::min different from std::max in this case?

It's not. Both fail for me in the exact same way.

-- 
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