[
https://issues.apache.org/jira/browse/MESOS-2816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573332#comment-14573332
]
Paul Brett commented on MESOS-2816:
-----------------------------------
How about constexpr char[] - safe and it can be used in constexpr functions.
> Use const char[] consistently for const strings.
> ------------------------------------------------
>
> Key: MESOS-2816
> URL: https://issues.apache.org/jira/browse/MESOS-2816
> Project: Mesos
> Issue Type: Task
> Components: technical debt
> Reporter: Jie Yu
>
> Currently, for const strings, some code uses char char[] and some code uses
> const char*. We should make those consistent.
> I propose to use const char[] consistently because it's slightly safer than a
> const char pointer.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)