[CXX-801] bsoncxx::view_or_value should have private members Created: 06/Jan/16  Updated: 11/Jan/16  Resolved: 06/Jan/16

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: 3.0.0-rc0
Fix Version/s: 3.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C++11 Driver MongoDB 3.2

 Description   

This class' members were exposed as protected to support string::view_or_value's c_str() method. If possible this method should be changed so that bsoncxx::view_or_value's can once again be private.



 Comments   
Comment by Githook User [ 06/Jan/16 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: CXX-801 Use .terminated().data() to extract safe c-strings
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/53d48d03ef1fe70f5d33af5b862688beca0a9c3e

Comment by Samantha Ritter (Inactive) [ 06/Jan/16 ]

code review: https://github.com/mongodb/mongo-cxx-driver/pull/422

Generated at Wed Feb 07 22:00:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.