[SERVER-18585] Add comparison operators for StringData and const char[] Created: 20/May/15  Updated: 20/May/15  Resolved: 20/May/15

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

Type: Improvement Priority: Trivial - P5
Reporter: Adam Midvidy Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

I frequently find myself declaring const char[] constants and then comparing them to StringData instances - it would be more convenient if this was actually supported instead of having to construct a temporary StringData.



 Comments   
Comment by Adam Midvidy [ 20/May/15 ]

nevermind, this works...

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