This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] MSVC fails to compile `operator valarray<template>`
AbandonedPublic

Authored by danlark on Feb 10 2019, 10:07 PM.

Details

Summary

MSVC fails to compile template operator valarray because (i believe) the type is not seen in template argument of the operator.

Minimal example:
https://gcc.godbolt.org/z/sPpQFL

I believe it is a compiler bug but workaround is not that complex so I hope it can be merged anyway

Diff Detail

Event Timeline

danlark created this revision.Feb 10 2019, 10:07 PM
EricWF accepted this revision.Feb 10 2019, 10:33 PM
This revision is now accepted and ready to land.Feb 10 2019, 10:33 PM
danlark abandoned this revision.May 28 2020, 7:08 AM