Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Week {
- private:
- static const char *const *days = { "mon", "tue", "wed", "thur",
- "fri", "sat", "sun" };
- };
- static const char * const days[] = {"mon", "tue", "wed", "thur",
- "fri", "sat", "sun"};
- static const char * const days[]; //declaration
- const char * const Week::days[] = {"mon", "tue", "wed", "thur",
- "fri", "sat", "sun"};
- constexpr const char* const Week::days[];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement