{"id":21753835,"url":"https://github.com/melardev/cppboostserializationsnippets","last_synced_at":"2025-03-21T02:46:15.511Z","repository":{"id":107256084,"uuid":"186878382","full_name":"melardev/CppBoostSerializationSnippets","owner":"melardev","description":"Cpp Boost Serialization Snippets","archived":false,"fork":false,"pushed_at":"2019-07-20T18:08:59.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T23:37:29.285Z","etag":null,"topics":["boost","cpp","demos","examples","serialization","snippets"],"latest_commit_sha":null,"homepage":"http://melardev.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melardev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-15T18:01:06.000Z","updated_at":"2019-09-03T10:55:29.000Z","dependencies_parsed_at":"2024-06-05T09:07:19.401Z","dependency_job_id":null,"html_url":"https://github.com/melardev/CppBoostSerializationSnippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melardev%2FCppBoostSerializationSnippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melardev%2FCppBoostSerializationSnippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melardev%2FCppBoostSerializationSnippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melardev%2FCppBoostSerializationSnippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melardev","download_url":"https://codeload.github.com/melardev/CppBoostSerializationSnippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244728200,"owners_count":20500023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boost","cpp","demos","examples","serialization","snippets"],"created_at":"2024-11-26T09:11:49.095Z","updated_at":"2025-03-21T02:46:15.485Z","avatar_url":"https://github.com/melardev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Introduction\nThis repository contains Boost Cpp Serialization snippets, I have actually a lot more snippets\u003cbr\u003e\nbut I have to refactor them before publishing so you can follow me on Github to stay tuned.\n\n# Getting Started\nFor Cpp nowadas there are no excuses to setup your environment in a painless manner, this is why\u003cbr\u003e\nI recommend using vcpkg, which is what I use, with `vcpkg install boost:x64-windows-static` it downloaded and built\u003cbr\u003e\nboost libraries. Then I open the vcproject file and add the following inside the Globals section:\n```xml\n\u003cPropertyGroup Label=\"Globals\"\u003e \u003c-- Find this tag, then in that tag add the two VcpkgTriplet tags--\u003e\n............\n\u003cVcpkgTriplet Condition=\"'$(Platform)'=='Win32'\"\u003ex86-windows-static\u003c/VcpkgTriplet\u003e\n\u003cVcpkgTriplet Condition=\"'$(Platform)'=='x64'\"\u003ex64-windows-static\u003c/VcpkgTriplet\u003e\n..........\n```\n\nThis is how I set up my environment, I strongly encourage you to do the same, take a time reading about [vcpkg](https://github.com/microsoft/vcpkg)\u003cbr\u003e\nand enjoy modern Cpp made easy.\n\n# Notes\n- BOOST_SERIALIZATION_SPLIT_FREE should always be executed outside any namespace.\n- Don't forget the appropiate includes, if you serialize a shared_ptr\u003cT\u003e you need the serialization/shared_ptr.hpp\nheader file.\n- Never use BOOST_EXPORT_CLASS for a base class.\n\n# Social Media\n- [Youtube](https://youtube.com/Melardev)\n- [Twitter](https://twitter.com/@melardev)\n- [Instagram](https://instagram.com/melar_dev)\n\n# Resources\n- [The official docs](https://www.boost.org/doc/libs/1_69_0/libs/serialization/example/)\n# TODO\n- Port to CMake","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelardev%2Fcppboostserializationsnippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelardev%2Fcppboostserializationsnippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelardev%2Fcppboostserializationsnippets/lists"}