Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[locale.categories] Promote remaining static const data members to constexpr #6767

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/text.tex
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
class id;
// \ref{locale.category}, type \tcode{locale::category}
using category = int;
static const category // values assigned here are for exposition only
static constexpr category // values assigned here are for exposition only
none = 0,
collate = 0x010, ctype = 0x020,
monetary = 0x040, numeric = 0x080,
Expand Down Expand Up @@ -1724,7 +1724,7 @@
const char* narrow(const char* low, const char* high, char dfault, char* to) const;

static locale::id id;
static const size_t table_size = @\impdef@;
static constexpr size_t table_size = @\impdef@;

const mask* table() const noexcept;
static const mask* classic_table() noexcept;
Expand Down Expand Up @@ -4448,7 +4448,7 @@
pattern neg_format() const;

static locale::id id;
static const bool intl = International;
static constexpr bool intl = International;

protected:
~moneypunct();
Expand Down
Loading