{"id":6445,"date":"2019-09-21T10:39:41","date_gmt":"2019-09-21T10:39:41","guid":{"rendered":"https:\/\/gtechbooster.com\/?p=6445"},"modified":"2023-04-01T01:36:49","modified_gmt":"2023-04-01T01:36:49","slug":"c-standard-library-now-open-source","status":"publish","type":"post","link":"https:\/\/gtechbooster.com\/c-standard-library-now-open-source\/","title":{"rendered":"C++ Standard Library now open source"},"content":{"rendered":"\n<p>The C++ Standard Library (STL) which ships as part of the MSVC \ntoolset and the Visual Studio IDE is being released as open source by \nMicrosoft. The Microsoft Visual C++ compiler and libraries toolset \n(MSVC) team made the announcement at CppCon 2019.<\/p>\n\n\n\n<div class=\"gtech-migrated-from-ad-inserter-placement-2\" style=\"text-align: center;\" id=\"gtech-3766675168\"><div style=\"margin-left: auto;margin-right: auto;text-align: center;\" id=\"gtech-1453635292\"><a data-bid=\"1\" data-no-instant=\"1\" href=\"https:\/\/gtechbooster.com\/linkout\/78935\" rel=\"noopener\" class=\"notrack\" aria-label=\"auyvc003\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gtechbooster.com\/media\/2026\/03\/auyvc003.webp\" alt=\"\"  srcset=\"https:\/\/gtechbooster.com\/media\/2026\/03\/auyvc003.webp 1200w, https:\/\/gtechbooster.com\/media\/2026\/03\/auyvc003-768x768.webp 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" width=\"500\" height=\"500\"  style=\"display: inline-block;\" \/><\/a><\/div><\/div><p>The library is now on GitHub in a repository containing all the  product source code and a new CMake build system. Obviously, this  doesn&#8217;t affect developers who just want to use the STL, as this is  available for use in the Visual Studio IDE. However, developers wanting  to participate in the STL&#8217;s development can do so by using the GitHub  repo &#8211; or will be able to do so soon. The move to GitHub is still  underway, but you can already clone and build the code.<\/p>\n\n\n\n<p>The development team says that the move has been made because:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>&#8220;As C++ Standardization accelerates,  with more large features being voted in every year, we believe that  accepting major features as open source contributions will be important.  (For example, C++20\u2019s chrono and format libraries are potential  candidates.)&#8221;<\/em><\/p><\/blockquote>\n\n\n\n<p>The library is distributed under the Apache License v2.0 with LLVM \nExceptions. Microsoft says the choice was made because having the same \nlicense as libc++ will make it easier to share code between the \nlibraries, though they&#8217;re not being merged.<\/p>\n\n\n\n<p>The development team says there are no plans to make anything else in\n the MSVC toolset open source, though some of the support libraries for \nthe STL may be open sourced in the future. The thinking behind making \nthe STL open source is that it is different because it is evolving \nrapidly and is designed by the C++ Standardization Committee, unlike \nother MSVC libraries.<\/p>\n\n\n\n<p>The only catch, according to the developers, is that the move to open  source will mean the team spending time overhauling the build system,  test infrastructure, and issue tracking, which will delay some work on  C++20 library features.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">More Information<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/microsoft\/STL\">C++ STL On GitHub<\/a><\/li><\/ul>\n\n\n\n<p>Credit: I Programmer<\/p>\n<div class=\"gtech-end-cont\" id=\"gtech-4208292272\"><div style=\"margin-left: auto;margin-right: auto;text-align: center;\" id=\"gtech-3616830759\"><a data-bid=\"1\" data-no-instant=\"1\" href=\"https:\/\/gtechbooster.com\/linkout\/78935\" rel=\"noopener\" class=\"notrack\" aria-label=\"auyvc003\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gtechbooster.com\/media\/2026\/03\/auyvc003.webp\" alt=\"\"  srcset=\"https:\/\/gtechbooster.com\/media\/2026\/03\/auyvc003.webp 1200w, https:\/\/gtechbooster.com\/media\/2026\/03\/auyvc003-768x768.webp 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" width=\"500\" height=\"500\"  style=\"display: inline-block;\" \/><\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The C++ Standard Library (STL) which ships as part of the MSVC toolset and the Visual Studio IDE is being released as open source by Microsoft. The Microsoft Visual C++ compiler and libraries toolset (MSVC) team made the announcement at CppCon 2019. The library is now on GitHub in a repository containing all the product [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":6213,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1915],"tags":[152,1010,545,6],"class_list":["post-6445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ndocs","tag-c-sharp","tag-compiler","tag-microsoft","tag-programming"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts\/6445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/comments?post=6445"}],"version-history":[{"count":0,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/posts\/6445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/media\/6213"}],"wp:attachment":[{"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/media?parent=6445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/categories?post=6445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gtechbooster.com\/api-json\/wp\/v2\/tags?post=6445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}