'How would I propose a new, non-library feature for possible standardization in ISO C++? [duplicate]

I have some ideas about features that would be useful to have in C++. I would like to propose these features to the applicable ISO committee(s) for possible inclusion in a future version of the C++ language standard (e. g. c++23)

```c++
for constexpr
for consteval

while constexpr
while consteval

do constexpr {} while ()
do consteval {} while ()

$class Meta {};
$Meta AnotherMetaClass {};    // <<<<<

try {
  something();
} catch (...) {
  std::cerr << "exception caught!!";
}
std::clog << "No except caught!";
finally {
  cleanup();    // already microsoft extension, but should be in core language
}


concept D{};

template <concept C>   // <<--<
auto func (C ...T) {   // <<<
   register D = C;         // able to use concept provided; @ runtime
   return T + ...;
}

operator alignof ()

int func (int var, explicit int select_menu)   // <<<<<

template <typename T>
concept INT = std::is_integral_v<T>();

// WHY CAN'T WE DO THIS ALREADY???
decltype(auto) sum (INT arg1, INT ...) { return arg1 + ...; }

typedef long long int -> AGE_OF_UNIVERSE;    // Why not??

int menu (/**/requires/**/ unsigned int menu_option = 0)
// Called as:
menu(default);
// OR:
menu(5)
// Compiler Error: function "menu(unsigned int)" requires unsigned int variable
menu()
```

How would I go about doing so?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source