[SERVER-24651] Add a user defined literal constructor for string data Created: 17/Jun/16 Updated: 14/Jul/16 Resolved: 17/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 3.3.8 |
| Fix Version/s: | 3.3.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Platforms 16 (06/24/16) |
| Participants: |
| Description |
|
Providing a user defined literal constructor for string data will allow us to remove the LiteralTag api, while retaining a constructor that's compile time and can detect embedded nulls. Compare
to
|
| Comments |
| Comment by Githook User [ 17/Jun/16 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: Replace StringData("foo", StringData::LiteralTag()) with "foo"_sd |
| Comment by Githook User [ 17/Jun/16 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: |