Download this file
13 lines (11 with data), 418 Bytes
1
2
3
4
5
6
7
8
9
10
11
12 | class DummyClass {
public:
// Conversion operators (to int)
operator int*(); // ERROR: currently shows type "operator"
operator const int*() const; // ERROR: currently shows type "operator const"
};
// Conversion operators (to int)
inline DummyClass::operator int*() { // ERROR: does not link with class
}
inline DummyClass::operator const int*() const { // ERROR: does not link with class
}
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.