https://bugs.llvm.org/show_bug.cgi?id=35842

Louis Dionne <[email protected]> changed:

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

--- Comment #2 from Louis Dionne <[email protected]> ---
The problem is that Boost.Variant incorrectly uses `boost::declval` in an
evaluated context. The compiler correctly diagnoses the invalid usage.
Basically, boost::declval is a never-defined function template. It is
instantiated in a TU with a type that has internal linkage (i.e. defined in an
anonymous namespace), and so the compiler can tell no definition of
boost::declval can ever exist.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to