なんか clang のエラーメッセージで [2 * ...] という型が出てきたけれど何だこれは…
@Linda_pp 何が出たのかわからないから何ともだけど、clangが吐いた中間コードをLLVMが気に入らないって言ってるケースかも? (最近は滅多に見かけないけどclangがバグってると起こる
-
-
@fadis_ なるほど.ちなみに,間違って range for で右辺値な range を作って auto & でその要素を見ようとしたときに -
@Linda_pp for( auto &elem: std::vector< int >{ 1,2,3 } ) { std::cout << elem << std::endl; } ってことです? - 3 more replies
New conversation -
-
-
@fadis_ non-const lvalue reference to type 'cons<[2 * ...]>' cannot bind to a temporary of type 'cons<[2 * ...]>' と言われた感じでした.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.