{"action":"created","comment":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/82653808","pull_request_review_id":3544984,"id":82653808,"diff_hunk":"@@ -0,0 +1,100 @@\n+// Copyright 2014 MongoDB Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+#pragma once\n+\n+#include <cstdint>\n+#include <string>\n+\n+#include <bsoncxx/stdx/string_view.hpp>\n+\n+#include <bsoncxx/config/prelude.hpp>\n+\n+namespace bsoncxx {\n+BSONCXX_INLINE_NAMESPACE_BEGIN\n+\n+///\n+/// Represents an IEEE 754-2008 Decimal128 value in a platform-independent way.\n+///\n+class BSONCXX_API decimal128 {\n+   public:\n+    ///\n+    /// Constructs a Decimal128 value representing zero.\n+    ///\n+    decimal128() : _high(0), _low(0){};\n+\n+    ///\n+    /// Constructs a Decimal128 from high and low 64-bit big-endian parts.\n+    ///\n+    /// @param high\n+    ///   High bits","path":"src/bsoncxx/decimal128.hpp","position":41,"original_position":41,"commit_id":"d03493631b719b9373d596a3efbe163f161d64ad","original_commit_id":"d03493631b719b9373d596a3efbe163f161d64ad","user":{"login":"xdg","id":7625322,"avatar_url":"https://avatars.githubusercontent.com/u/7625322?v=3","gravatar_id":"","url":"https://api.github.com/users/xdg","html_url":"https://github.com/xdg","followers_url":"https://api.github.com/users/xdg/followers","following_url":"https://api.github.com/users/xdg/following{/other_user}","gists_url":"https://api.github.com/users/xdg/gists{/gist_id}","starred_url":"https://api.github.com/users/xdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdg/subscriptions","organizations_url":"https://api.github.com/users/xdg/orgs","repos_url":"https://api.github.com/users/xdg/repos","events_url":"https://api.github.com/users/xdg/events{/privacy}","received_events_url":"https://api.github.com/users/xdg/received_events","type":"User","site_admin":false},"body":"We have no consistent style on this.  The way it renders, it might make more sense to write it as a sentence starting with the param name.  I'll try that and then putting periods at the end is more sensible.","created_at":"2016-10-10T18:03:44Z","updated_at":"2016-10-10T18:27:41Z","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/547#discussion_r82653808","pull_request_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547","_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/82653808"},"html":{"href":"https://github.com/mongodb/mongo-cxx-driver/pull/547#discussion_r82653808"},"pull_request":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547"}}},"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547","id":87550473,"html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/547","diff_url":"https://github.com/mongodb/mongo-cxx-driver/pull/547.diff","patch_url":"https://github.com/mongodb/mongo-cxx-driver/pull/547.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/547","number":547,"state":"open","locked":false,"title":"CXX-859 Implement Decimal128 support","user":{"login":"xdg","id":7625322,"avatar_url":"https://avatars.githubusercontent.com/u/7625322?v=3","gravatar_id":"","url":"https://api.github.com/users/xdg","html_url":"https://github.com/xdg","followers_url":"https://api.github.com/users/xdg/followers","following_url":"https://api.github.com/users/xdg/following{/other_user}","gists_url":"https://api.github.com/users/xdg/gists{/gist_id}","starred_url":"https://api.github.com/users/xdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdg/subscriptions","organizations_url":"https://api.github.com/users/xdg/orgs","repos_url":"https://api.github.com/users/xdg/repos","events_url":"https://api.github.com/users/xdg/events{/privacy}","received_events_url":"https://api.github.com/users/xdg/received_events","type":"User","site_admin":false},"body":"@jrassi @acmorrow PTAL\r\n","created_at":"2016-09-30T19:17:16Z","updated_at":"2016-10-10T18:27:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"515f1dbfbd4b8cdc0d2e76f0ec7e0bfc9e95ce71","assignee":{"login":"xdg","id":7625322,"avatar_url":"https://avatars.githubusercontent.com/u/7625322?v=3","gravatar_id":"","url":"https://api.github.com/users/xdg","html_url":"https://github.com/xdg","followers_url":"https://api.github.com/users/xdg/followers","following_url":"https://api.github.com/users/xdg/following{/other_user}","gists_url":"https://api.github.com/users/xdg/gists{/gist_id}","starred_url":"https://api.github.com/users/xdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdg/subscriptions","organizations_url":"https://api.github.com/users/xdg/orgs","repos_url":"https://api.github.com/users/xdg/repos","events_url":"https://api.github.com/users/xdg/events{/privacy}","received_events_url":"https://api.github.com/users/xdg/received_events","type":"User","site_admin":false},"assignees":[{"login":"xdg","id":7625322,"avatar_url":"https://avatars.githubusercontent.com/u/7625322?v=3","gravatar_id":"","url":"https://api.github.com/users/xdg","html_url":"https://github.com/xdg","followers_url":"https://api.github.com/users/xdg/followers","following_url":"https://api.github.com/users/xdg/following{/other_user}","gists_url":"https://api.github.com/users/xdg/gists{/gist_id}","starred_url":"https://api.github.com/users/xdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdg/subscriptions","organizations_url":"https://api.github.com/users/xdg/orgs","repos_url":"https://api.github.com/users/xdg/repos","events_url":"https://api.github.com/users/xdg/events{/privacy}","received_events_url":"https://api.github.com/users/xdg/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/547/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/d03493631b719b9373d596a3efbe163f161d64ad","head":{"label":"xdg:CXX-859-decimal128","ref":"CXX-859-decimal128","sha":"d03493631b719b9373d596a3efbe163f161d64ad","user":{"login":"xdg","id":7625322,"avatar_url":"https://avatars.githubusercontent.com/u/7625322?v=3","gravatar_id":"","url":"https://api.github.com/users/xdg","html_url":"https://github.com/xdg","followers_url":"https://api.github.com/users/xdg/followers","following_url":"https://api.github.com/users/xdg/following{/other_user}","gists_url":"https://api.github.com/users/xdg/gists{/gist_id}","starred_url":"https://api.github.com/users/xdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdg/subscriptions","organizations_url":"https://api.github.com/users/xdg/orgs","repos_url":"https://api.github.com/users/xdg/repos","events_url":"https://api.github.com/users/xdg/events{/privacy}","received_events_url":"https://api.github.com/users/xdg/received_events","type":"User","site_admin":false},"repo":{"id":58971647,"name":"mongo-cxx-driver","full_name":"xdg/mongo-cxx-driver","owner":{"login":"xdg","id":7625322,"avatar_url":"https://avatars.githubusercontent.com/u/7625322?v=3","gravatar_id":"","url":"https://api.github.com/users/xdg","html_url":"https://github.com/xdg","followers_url":"https://api.github.com/users/xdg/followers","following_url":"https://api.github.com/users/xdg/following{/other_user}","gists_url":"https://api.github.com/users/xdg/gists{/gist_id}","starred_url":"https://api.github.com/users/xdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdg/subscriptions","organizations_url":"https://api.github.com/users/xdg/orgs","repos_url":"https://api.github.com/users/xdg/repos","events_url":"https://api.github.com/users/xdg/events{/privacy}","received_events_url":"https://api.github.com/users/xdg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xdg/mongo-cxx-driver","description":"C++ Driver for MongoDB","fork":true,"url":"https://api.github.com/repos/xdg/mongo-cxx-driver","forks_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/forks","keys_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/teams","hooks_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/hooks","issue_events_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/issues/events{/number}","events_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/events","assignees_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/assignees{/user}","branches_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/branches{/branch}","tags_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/tags","blobs_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/languages","stargazers_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/stargazers","contributors_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/contributors","subscribers_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/subscribers","subscription_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/subscription","commits_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/contents/{+path}","compare_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/merges","archive_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/downloads","issues_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/issues{/number}","pulls_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/labels{/name}","releases_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/releases{/id}","deployments_url":"https://api.github.com/repos/xdg/mongo-cxx-driver/deployments","created_at":"2016-05-16T22:16:35Z","updated_at":"2016-05-16T22:16:36Z","pushed_at":"2016-10-10T17:29:29Z","git_url":"git://github.com/xdg/mongo-cxx-driver.git","ssh_url":"git@github.com:xdg/mongo-cxx-driver.git","clone_url":"https://github.com/xdg/mongo-cxx-driver.git","svn_url":"https://github.com/xdg/mongo-cxx-driver","homepage":null,"size":8120,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"mongodb:3.1-dev","ref":"3.1-dev","sha":"87ac72103b07251802da8cfdaadfaed64d8e085b","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":15881868,"name":"mongo-cxx-driver","full_name":"mongodb/mongo-cxx-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-cxx-driver","description":"C++ Driver for MongoDB","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/deployments","created_at":"2014-01-13T21:08:36Z","updated_at":"2016-10-06T03:36:21Z","pushed_at":"2016-10-10T17:29:28Z","git_url":"git://github.com/mongodb/mongo-cxx-driver.git","ssh_url":"git@github.com:mongodb/mongo-cxx-driver.git","clone_url":"https://github.com/mongodb/mongo-cxx-driver.git","svn_url":"https://github.com/mongodb/mongo-cxx-driver","homepage":null,"size":12602,"stargazers_count":306,"watchers_count":306,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":262,"mirror_url":null,"open_issues_count":10,"forks":262,"open_issues":10,"watchers":306,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547"},"html":{"href":"https://github.com/mongodb/mongo-cxx-driver/pull/547"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/547"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/547/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/547/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/d03493631b719b9373d596a3efbe163f161d64ad"}}}}
{"actor":{"display_login":"xdg"}}