[libcxx-bugs] compile-time expression in run-time evaluation

vali asdas via libcxx-bugs libcxx-bugs at lists.llvm.org
Thu Jul 18 04:30:12 PDT 2019


Hey there,
Line 322 here llvm-mirror/libcxx is an if with a constant expression inside. Shouldn't it be using if constexpr? It should be a direct replacement, since if constexpr and std::variant are both from C++ 17 anyway.Thanks.

| 
| 
| 
|  |  |

 |

 |
| 
|  | 
llvm-mirror/libcxx

Mirror of official libcxx git repository located at http://llvm.org/git/libcxx. Updated every five minutes. - ll...
 |

 |

 |



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-bugs/attachments/20190718/10a375eb/attachment-0001.html>


More information about the libcxx-bugs mailing list