{"action":"created","comment":{"url":"https://api.github.com/repos/USCiLab/cereal/pulls/comments/53169267","id":53169267,"diff_hunk":"@@ -0,0 +1,62 @@\n+/*! \\file boost_compressed_pair.hpp\n+    \\brief Support for types found in \\<boost\\compressed_pair.hpp\\>\n+    \\ingroup OtherTypes */\n+/*\n+  Copyright (c) 2014, Steve HIckman\n+  All rights reserved.\n+\n+  Redistribution and use in source and binary forms, with or without\n+  modification, are permitted provided that the following conditions are met:\n+      * Redistributions of source code must retain the above copyright\n+        notice, this list of conditions and the following disclaimer.\n+      * Redistributions in binary form must reproduce the above copyright\n+        notice, this list of conditions and the following disclaimer in the\n+        documentation and/or other materials provided with the distribution.\n+      * Neither the name of cereal nor the\n+        names of its contributors may be used to endorse or promote products\n+        derived from this software without specific prior written permission.\n+\n+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n+  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n+  DISCLAIMED. IN NO EVENT SHALL RANDOLPH VOORHIES OR SHANE GRANT BE LIABLE FOR ANY\n+  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n+  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+*/\n+#ifndef CEREAL_TYPES_BOOST_COMPRESSED_PAIR_HPP_\n+#define CEREAL_TYPES_BOOST_COMPRESSED_PAIR_HPP_\n+\n+#include <cereal/cereal.hpp>\n+#include <boost/compressed_pair.hpp>\n+\n+namespace cereal\n+{\n+  //! Saving for boost::compressed_pair\n+  template <class Archive, class T1, class T2> inline\n+  void save( Archive & ar, ::boost::compressed_pair<T1, T2> const & pair )\n+  {\n+    ar( _CEREAL_NVP(\"first\",  pair.first()),\n+        _CEREAL_NVP(\"second\", pair.second()) );\n+  }\n+  \n+\n+   //! Loading for boost::optional","path":"include/cereal/types/boost/compressed_pair.hpp","position":47,"original_position":47,"commit_id":"57faeb6ce6de2fc5ade80e80b56f0998f9e9d1d8","original_commit_id":"57faeb6ce6de2fc5ade80e80b56f0998f9e9d1d8","user":{"login":"patrikhuber","id":4967343,"avatar_url":"https://avatars.githubusercontent.com/u/4967343?v=3","gravatar_id":"","url":"https://api.github.com/users/patrikhuber","html_url":"https://github.com/patrikhuber","followers_url":"https://api.github.com/users/patrikhuber/followers","following_url":"https://api.github.com/users/patrikhuber/following{/other_user}","gists_url":"https://api.github.com/users/patrikhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/patrikhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrikhuber/subscriptions","organizations_url":"https://api.github.com/users/patrikhuber/orgs","repos_url":"https://api.github.com/users/patrikhuber/repos","events_url":"https://api.github.com/users/patrikhuber/events{/privacy}","received_events_url":"https://api.github.com/users/patrikhuber/received_events","type":"User","site_admin":false},"body":"I think this should say \"boost::compressed_pair\", not optional","created_at":"2016-02-17T14:20:56Z","updated_at":"2016-02-17T14:20:56Z","html_url":"https://github.com/USCiLab/cereal/pull/122#discussion_r53169267","pull_request_url":"https://api.github.com/repos/USCiLab/cereal/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/USCiLab/cereal/pulls/comments/53169267"},"html":{"href":"https://github.com/USCiLab/cereal/pull/122#discussion_r53169267"},"pull_request":{"href":"https://api.github.com/repos/USCiLab/cereal/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/USCiLab/cereal/pulls/122","id":21209380,"html_url":"https://github.com/USCiLab/cereal/pull/122","diff_url":"https://github.com/USCiLab/cereal/pull/122.diff","patch_url":"https://github.com/USCiLab/cereal/pull/122.patch","issue_url":"https://api.github.com/repos/USCiLab/cereal/issues/122","number":122,"state":"open","locked":false,"title":"Add support for boost::optional","user":{"login":"stevehickman","id":6638328,"avatar_url":"https://avatars.githubusercontent.com/u/6638328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehickman","html_url":"https://github.com/stevehickman","followers_url":"https://api.github.com/users/stevehickman/followers","following_url":"https://api.github.com/users/stevehickman/following{/other_user}","gists_url":"https://api.github.com/users/stevehickman/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehickman/subscriptions","organizations_url":"https://api.github.com/users/stevehickman/orgs","repos_url":"https://api.github.com/users/stevehickman/repos","events_url":"https://api.github.com/users/stevehickman/events{/privacy}","received_events_url":"https://api.github.com/users/stevehickman/received_events","type":"User","site_admin":false},"body":"Copyright notice is identical to your original wording, with my name there instead.\r\nThis should be sufficient to support boost::optional","created_at":"2014-09-14T22:46:59Z","updated_at":"2016-02-17T14:20:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e64ab945daeaa6f2e16f67e4937f2b2609641820","assignee":null,"milestone":{"url":"https://api.github.com/repos/USCiLab/cereal/milestones/8","html_url":"https://github.com/USCiLab/cereal/milestones/v1.3.0","labels_url":"https://api.github.com/repos/USCiLab/cereal/milestones/8/labels","id":1211675,"number":8,"title":"v1.3.0","description":"","creator":{"login":"AzothAmmo","id":1634639,"avatar_url":"https://avatars.githubusercontent.com/u/1634639?v=3","gravatar_id":"","url":"https://api.github.com/users/AzothAmmo","html_url":"https://github.com/AzothAmmo","followers_url":"https://api.github.com/users/AzothAmmo/followers","following_url":"https://api.github.com/users/AzothAmmo/following{/other_user}","gists_url":"https://api.github.com/users/AzothAmmo/gists{/gist_id}","starred_url":"https://api.github.com/users/AzothAmmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzothAmmo/subscriptions","organizations_url":"https://api.github.com/users/AzothAmmo/orgs","repos_url":"https://api.github.com/users/AzothAmmo/repos","events_url":"https://api.github.com/users/AzothAmmo/events{/privacy}","received_events_url":"https://api.github.com/users/AzothAmmo/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":0,"state":"open","created_at":"2015-07-16T18:19:09Z","updated_at":"2015-12-23T08:04:10Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/USCiLab/cereal/pulls/122/commits","review_comments_url":"https://api.github.com/repos/USCiLab/cereal/pulls/122/comments","review_comment_url":"https://api.github.com/repos/USCiLab/cereal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/USCiLab/cereal/issues/122/comments","statuses_url":"https://api.github.com/repos/USCiLab/cereal/statuses/57faeb6ce6de2fc5ade80e80b56f0998f9e9d1d8","head":{"label":"stevehickman:master","ref":"master","sha":"57faeb6ce6de2fc5ade80e80b56f0998f9e9d1d8","user":{"login":"stevehickman","id":6638328,"avatar_url":"https://avatars.githubusercontent.com/u/6638328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehickman","html_url":"https://github.com/stevehickman","followers_url":"https://api.github.com/users/stevehickman/followers","following_url":"https://api.github.com/users/stevehickman/following{/other_user}","gists_url":"https://api.github.com/users/stevehickman/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehickman/subscriptions","organizations_url":"https://api.github.com/users/stevehickman/orgs","repos_url":"https://api.github.com/users/stevehickman/repos","events_url":"https://api.github.com/users/stevehickman/events{/privacy}","received_events_url":"https://api.github.com/users/stevehickman/received_events","type":"User","site_admin":false},"repo":{"id":24034789,"name":"cereal","full_name":"stevehickman/cereal","owner":{"login":"stevehickman","id":6638328,"avatar_url":"https://avatars.githubusercontent.com/u/6638328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehickman","html_url":"https://github.com/stevehickman","followers_url":"https://api.github.com/users/stevehickman/followers","following_url":"https://api.github.com/users/stevehickman/following{/other_user}","gists_url":"https://api.github.com/users/stevehickman/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehickman/subscriptions","organizations_url":"https://api.github.com/users/stevehickman/orgs","repos_url":"https://api.github.com/users/stevehickman/repos","events_url":"https://api.github.com/users/stevehickman/events{/privacy}","received_events_url":"https://api.github.com/users/stevehickman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevehickman/cereal","description":"A C++11 library for serialization","fork":true,"url":"https://api.github.com/repos/stevehickman/cereal","forks_url":"https://api.github.com/repos/stevehickman/cereal/forks","keys_url":"https://api.github.com/repos/stevehickman/cereal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevehickman/cereal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevehickman/cereal/teams","hooks_url":"https://api.github.com/repos/stevehickman/cereal/hooks","issue_events_url":"https://api.github.com/repos/stevehickman/cereal/issues/events{/number}","events_url":"https://api.github.com/repos/stevehickman/cereal/events","assignees_url":"https://api.github.com/repos/stevehickman/cereal/assignees{/user}","branches_url":"https://api.github.com/repos/stevehickman/cereal/branches{/branch}","tags_url":"https://api.github.com/repos/stevehickman/cereal/tags","blobs_url":"https://api.github.com/repos/stevehickman/cereal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevehickman/cereal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevehickman/cereal/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevehickman/cereal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevehickman/cereal/statuses/{sha}","languages_url":"https://api.github.com/repos/stevehickman/cereal/languages","stargazers_url":"https://api.github.com/repos/stevehickman/cereal/stargazers","contributors_url":"https://api.github.com/repos/stevehickman/cereal/contributors","subscribers_url":"https://api.github.com/repos/stevehickman/cereal/subscribers","subscription_url":"https://api.github.com/repos/stevehickman/cereal/subscription","commits_url":"https://api.github.com/repos/stevehickman/cereal/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevehickman/cereal/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevehickman/cereal/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevehickman/cereal/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevehickman/cereal/contents/{+path}","compare_url":"https://api.github.com/repos/stevehickman/cereal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevehickman/cereal/merges","archive_url":"https://api.github.com/repos/stevehickman/cereal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevehickman/cereal/downloads","issues_url":"https://api.github.com/repos/stevehickman/cereal/issues{/number}","pulls_url":"https://api.github.com/repos/stevehickman/cereal/pulls{/number}","milestones_url":"https://api.github.com/repos/stevehickman/cereal/milestones{/number}","notifications_url":"https://api.github.com/repos/stevehickman/cereal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevehickman/cereal/labels{/name}","releases_url":"https://api.github.com/repos/stevehickman/cereal/releases{/id}","deployments_url":"https://api.github.com/repos/stevehickman/cereal/deployments","created_at":"2014-09-14T22:14:21Z","updated_at":"2015-02-06T02:48:36Z","pushed_at":"2014-12-01T03:15:21Z","git_url":"git://github.com/stevehickman/cereal.git","ssh_url":"git@github.com:stevehickman/cereal.git","clone_url":"https://github.com/stevehickman/cereal.git","svn_url":"https://github.com/stevehickman/cereal","homepage":null,"size":6972,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"USCiLab:master","ref":"master","sha":"7121e91e6ab8c3e6a6516d9d9c3e6804e6f65245","user":{"login":"USCiLab","id":1634585,"avatar_url":"https://avatars.githubusercontent.com/u/1634585?v=3","gravatar_id":"","url":"https://api.github.com/users/USCiLab","html_url":"https://github.com/USCiLab","followers_url":"https://api.github.com/users/USCiLab/followers","following_url":"https://api.github.com/users/USCiLab/following{/other_user}","gists_url":"https://api.github.com/users/USCiLab/gists{/gist_id}","starred_url":"https://api.github.com/users/USCiLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USCiLab/subscriptions","organizations_url":"https://api.github.com/users/USCiLab/orgs","repos_url":"https://api.github.com/users/USCiLab/repos","events_url":"https://api.github.com/users/USCiLab/events{/privacy}","received_events_url":"https://api.github.com/users/USCiLab/received_events","type":"Organization","site_admin":false},"repo":{"id":10952997,"name":"cereal","full_name":"USCiLab/cereal","owner":{"login":"USCiLab","id":1634585,"avatar_url":"https://avatars.githubusercontent.com/u/1634585?v=3","gravatar_id":"","url":"https://api.github.com/users/USCiLab","html_url":"https://github.com/USCiLab","followers_url":"https://api.github.com/users/USCiLab/followers","following_url":"https://api.github.com/users/USCiLab/following{/other_user}","gists_url":"https://api.github.com/users/USCiLab/gists{/gist_id}","starred_url":"https://api.github.com/users/USCiLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USCiLab/subscriptions","organizations_url":"https://api.github.com/users/USCiLab/orgs","repos_url":"https://api.github.com/users/USCiLab/repos","events_url":"https://api.github.com/users/USCiLab/events{/privacy}","received_events_url":"https://api.github.com/users/USCiLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/USCiLab/cereal","description":"A C++11 library for serialization","fork":false,"url":"https://api.github.com/repos/USCiLab/cereal","forks_url":"https://api.github.com/repos/USCiLab/cereal/forks","keys_url":"https://api.github.com/repos/USCiLab/cereal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/USCiLab/cereal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/USCiLab/cereal/teams","hooks_url":"https://api.github.com/repos/USCiLab/cereal/hooks","issue_events_url":"https://api.github.com/repos/USCiLab/cereal/issues/events{/number}","events_url":"https://api.github.com/repos/USCiLab/cereal/events","assignees_url":"https://api.github.com/repos/USCiLab/cereal/assignees{/user}","branches_url":"https://api.github.com/repos/USCiLab/cereal/branches{/branch}","tags_url":"https://api.github.com/repos/USCiLab/cereal/tags","blobs_url":"https://api.github.com/repos/USCiLab/cereal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/USCiLab/cereal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/USCiLab/cereal/git/refs{/sha}","trees_url":"https://api.github.com/repos/USCiLab/cereal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/USCiLab/cereal/statuses/{sha}","languages_url":"https://api.github.com/repos/USCiLab/cereal/languages","stargazers_url":"https://api.github.com/repos/USCiLab/cereal/stargazers","contributors_url":"https://api.github.com/repos/USCiLab/cereal/contributors","subscribers_url":"https://api.github.com/repos/USCiLab/cereal/subscribers","subscription_url":"https://api.github.com/repos/USCiLab/cereal/subscription","commits_url":"https://api.github.com/repos/USCiLab/cereal/commits{/sha}","git_commits_url":"https://api.github.com/repos/USCiLab/cereal/git/commits{/sha}","comments_url":"https://api.github.com/repos/USCiLab/cereal/comments{/number}","issue_comment_url":"https://api.github.com/repos/USCiLab/cereal/issues/comments{/number}","contents_url":"https://api.github.com/repos/USCiLab/cereal/contents/{+path}","compare_url":"https://api.github.com/repos/USCiLab/cereal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/USCiLab/cereal/merges","archive_url":"https://api.github.com/repos/USCiLab/cereal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/USCiLab/cereal/downloads","issues_url":"https://api.github.com/repos/USCiLab/cereal/issues{/number}","pulls_url":"https://api.github.com/repos/USCiLab/cereal/pulls{/number}","milestones_url":"https://api.github.com/repos/USCiLab/cereal/milestones{/number}","notifications_url":"https://api.github.com/repos/USCiLab/cereal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/USCiLab/cereal/labels{/name}","releases_url":"https://api.github.com/repos/USCiLab/cereal/releases{/id}","deployments_url":"https://api.github.com/repos/USCiLab/cereal/deployments","created_at":"2013-06-25T23:18:45Z","updated_at":"2016-02-17T01:58:36Z","pushed_at":"2016-02-13T17:15:00Z","git_url":"git://github.com/USCiLab/cereal.git","ssh_url":"git@github.com:USCiLab/cereal.git","clone_url":"https://github.com/USCiLab/cereal.git","svn_url":"https://github.com/USCiLab/cereal","homepage":null,"size":11245,"stargazers_count":677,"watchers_count":677,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":142,"mirror_url":null,"open_issues_count":66,"forks":142,"open_issues":66,"watchers":677,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/USCiLab/cereal/pulls/122"},"html":{"href":"https://github.com/USCiLab/cereal/pull/122"},"issue":{"href":"https://api.github.com/repos/USCiLab/cereal/issues/122"},"comments":{"href":"https://api.github.com/repos/USCiLab/cereal/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/USCiLab/cereal/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/USCiLab/cereal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/USCiLab/cereal/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/USCiLab/cereal/statuses/57faeb6ce6de2fc5ade80e80b56f0998f9e9d1d8"}}}}