default template class argument confuses g++?

前端 未结 4 1913

Yesterday I ran into a g++ (3.4.6) compiler problem for code that I have been compiling without a problem using the Intel (9.0) compiler. Here\'s a code snippet that shows w

4条回答
  •  孤城傲影
    2020-12-11 16:45

    Looks like a compiler bug. I tried it on IBM's xlC compiler V7.0 (which I've found to be more standard-conforming than gcc) and it compiles okay.

提交回复
热议问题