namespace std::meta {
enum class operators;
}
概要
operatorsは、C++のオーバーロード可能な演算子の種類を表すスコープ付き列挙型である。operator_of()の戻り値型として使用される。
各列挙子はstd::meta名前空間でも直接使用できる(using enum operators;が適用されている)。
列挙子
| 列挙子 | 対応する演算子 |
|---|---|
op_new |
operator new |
op_delete |
operator delete |
op_array_new |
operator new[] |
op_array_delete |
operator delete[] |
op_co_await |
operator co_await |
op_parentheses |
operator() |
op_square_brackets |
operator[] |
op_arrow |
operator-> |
op_arrow_star |
operator->* |
op_tilde |
operator~ |
op_exclamation |
operator! |
op_plus |
operator+ |
op_minus |
operator- |
op_star |
operator* |
op_slash |
operator/ |
op_percent |
operator% |
op_caret |
operator^ |
op_ampersand |
operator& |
op_pipe |
operator| |
op_equals |
operator= |
op_plus_equals |
operator+= |
op_minus_equals |
operator-= |
op_star_equals |
operator*= |
op_slash_equals |
operator/= |
op_percent_equals |
operator%= |
op_caret_equals |
operator^= |
op_ampersand_equals |
operator&= |
op_pipe_equals |
operator|= |
op_equals_equals |
operator== |
op_exclamation_equals |
operator!= |
op_less |
operator< |
op_greater |
operator> |
op_less_equals |
operator<= |
op_greater_equals |
operator>= |
op_spaceship |
operator<=> |
op_ampersand_ampersand |
operator&& |
op_pipe_pipe |
operator|| |
op_less_less |
operator<< |
op_greater_greater |
operator>> |
op_less_less_equals |
operator<<= |
op_greater_greater_equals |
operator>>= |
op_plus_plus |
operator++ |
op_minus_minus |
operator-- |
op_comma |
operator, |
バージョン
言語
- C++26
処理系
- Clang: ??
- GCC: ??
- Visual C++: ??