'your_type::operator'op'' : CLR または WinRT 演算子が無効です。 少なくとも 1 つのパラメーターは、'T'、'T%'、'T>、'T^'、'T^%'、'T^>、T= 'your_type' の型である必要があります。
注釈
Windows ランタイムまたはマネージド型の演算子に、演算子の戻り値の型と同じ型を持つ 1 つ以上のパラメーターがありません。
Example
次の例では C2395 が生成され、修正方法が示されています。
// C2395.cpp
// compile with: /clr /c
value struct V {
static V operator *(int i, char c); // C2395
// OK
static V operator *(V v, char c);
// or
static V operator *(int i, V& rv);
};