Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
CLang 3.3の自動変数など、C++11の基本的な構成を実行できます。
しかし、次のようなassignment_initializationに関しては
vector<int> v={1,2};
CLang++からエラーが発生します。
<initializer_list>
しかし、私がそれを使用すると、「initializer_list」のファイルが見つかりませんと表示されます
回避策または解決策はありますか?
C ++ 11ライブラリの機能には、libc ++が必要です。これは、10.7以降でのみAppleによってサポートされています。