struct Govno {};
struct Konfetka {};
int main() {
Govno g;
Konfetka k(g);
}
-----------------------
main.cpp(6): error C2440: 'initializing' : cannot convert from 'Govno' to 'Konfetka'
Tuesday, March 1, 2011
Compile-time humor
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment