Marcus Habermehl
Habe es gerade nochmal probiert, und jetzt kommen Meldungen wie
... In file included from Any.cc:24: ../../include/alde/Any.h:116: error: `template<class _Tp> struct alde::Any::_Value' used without template parameters ../../include/alde/Any.h:117: error: non-member function `bool alde::equals(const alde::Any&)' cannot have `const' method qualifier ../../include/alde/Any.h: In function `bool alde::equals(const alde::Any&)': ../../include/alde/Any.h:96: error: `template<class _Tp> struct alde::Any::_Value' is private ../../include/alde/Any.h:117: error: within this context ../../include/alde/Any.h:120: error: ISO C++ forbids declaration of `_Value' with no type ../../include/alde/Any.h:120: error: parse error before `::' token
Da sieht doch jetzt anders aus, als bei meinem ersten Posting, oder!?
Ja, denn diesmal beschwert sich der Compiler über den Code. Scheinbar ist dieser nicht standardkonform programmiert (ISO C++), weshalb ihn der Compiler zurückweist. Da sind jetzt C++-Programmierer gefragt, um den Code ins Reine zu bringen. Philipp