{"id":61834,"library":"type-safe","title":"type_safe","description":"Zero overhead abstractions that use the C++ type system to prevent bugs.","status":"active","version":"0.2.4","language":"cpp","source_language":null,"source_url":null,"tags":["type-safety","abstractions","modern-cpp","header-only"],"install":[{"cmd":"vcpkg install type-safe","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(type_safe CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE type_safe::type_safe)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"type_safe/types.hpp","correct":"#include <type_safe/types.hpp>"}],"quickstart":{"code":"#include <type_safe/types.hpp>\n#include <iostream>\n\nint main() {\n    type_safe::integer<int> x(42);\n    std::cout << x.get() << std::endl;\n    return 0;\n}","lang":"cpp","description":"Basic usage of type_safe integer wrapper"},"warnings":[],"env_vars":null,"search_vec":"'abstract':5,18 'bug':14 'c':9 'cpp':21 'header':23 'header-on':22 'modern':20 'modern-cpp':19 'overhead':4 'prevent':13 'safe':2 'safeti':17 'system':11 'type':1,10,16 'type-safeti':15 'use':7 'zero':3","created_at":"2026-06-17T05:07:20.325011+00:00","updated_at":"2026-06-17T05:07:20.325011+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}}