[SERVER-6377] makeStringData Created: 10/Jul/12  Updated: 16/Feb/17  Resolved: 16/Feb/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 2.1.2
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Eric Milkie Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Instead of StringData having a templated constructor:

template <size_t N> StringData( const char (&val)[N], LiteralTag )

instead, consider making a makeStringData() which eventually calls an appropriate constructor. This way, we can remove the LiteralTag "function signature flag".
This improvement will necessitate making StringData class copyable.


Generated at Thu Feb 08 03:11:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.