{"id":60783,"library":"status-code","title":"status-code","description":"Proposed SG14 status_code for the C++ standard (https://wg21.link/P1028).","status":"active","version":"2025-05-21","language":"cpp","source_language":null,"source_url":null,"tags":["error-handling","status-code","experimental","sg14"],"install":[{"cmd":"vcpkg install status-code","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(status_code CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE status-code::status-code)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"status-code/system_error2.hpp","correct":"#include <status-code/system_error2.hpp>"}],"quickstart":{"code":"#include <status-code/system_error2.hpp>\n\nint main() {\n    SYSTEM_ERROR2_NAMESPACE::status_code<void> sc;\n    return 0;\n}","lang":"cpp","description":"Create a status_code object"},"warnings":[{"fix":"Pin to a specific version and test thoroughly when upgrading.","message":"This is an experimental library proposed for standardization; API may change.","severity":"breaking","affected_versions":"*"}],"env_vars":null,"search_vec":"'/p1028).':14 'c':10 'code':3,7,20 'error':16 'error-handl':15 'experiment':21 'handl':17 'propos':4 'sg14':5,22 'standard':11 'status':2,6,19 'status-cod':1,18 'wg21.link':13 'wg21.link/p1028).':12","created_at":"2026-06-17T04:27:40.415107+00:00","updated_at":"2026-06-17T04:27:40.415107+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}