[SERVER-13882] New stdx namespace in server repository Created: 08/May/14 Updated: 04/Sep/14 Resolved: 20/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matt Kangas | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | community-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Server 2.7.2 | ||||||||
| Participants: | |||||||||
| Description |
|
Add a new source directory src/mongo/stdx and namespace "mongo::stdx::" in the server codebase to provide symbol indirection for boost/std symbols. Motivation: When you switch from a C++03 compiler to C++11, a number of things you formerly wanted to use from boost:: are now provided by std::. We should not sprinkle #ifdefs at call sites to deal with this. Instead, create a new namespace "mongo::stdx" (stdx = "std extended") and encapsulate #ifdefs there. This was motivated by |
| Comments |
| Comment by Matt Kangas [ 20/May/14 ] |
|
I think we can call this done, right? Other C++11 compatibility stubs will be added in other tickets. Thanks schwerin. |
| Comment by Githook User [ 16/May/14 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |
| Comment by Githook User [ 16/May/14 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |