Macã®Clangãã¢ãããã¼ãã§ããã®ã§æ©éC++11ã試ããunordered_setã¨ããæ©è½ã使ã£ã¦ã¿ããã¨ãmain.cppã« #include <unordered_set> ...ã¨æ¸ã $ clang++ -std=c++11 main.cppã¨ãã«ãã試ã¿ããã以ä¸ã®ã¨ã©ã¼ãåºã¦ã³ã³ãã¤ã«ã«å¤±æãããããã¡ã¤ã«ãè¦ã¤ãããªããããã main.cpp:1:10: fatal error: 'unordered_set' file not found #include <unordered_set> ^ 1 error generated. ã©ãããlibc++ã¨å¼ã°ãããC++11ãã¿ã¼ã²ããã¨ããæ¨æºã©ã¤ãã©ãªã使ãã®ãæ£è§£ããããããã§Clangã®ãªãã·ã§ã³ã以ä¸ã®ããã«å¤æ´ããã¨ãç¡äºã³ã³ãã¤ã«ãéã£ãã $ clang++ -std=c++11 -stdlib=l
{{#tags}}- {{label}}
{{/tags}}