[templateproblem] warum schluckt der compiler das?
-
template <typename T> class Foo { public: Foo(const Foo& f); }; int main() {}
Warum schluckt der Compiler das?
Es muesste sein:
[cpp]
template <typename T>
class Foo
{
public:
Foo(const Foo**<T>**& f);
};int main()
{}
[/cpp]
-
der standard erlaubt es ohne template parameter, der einfachheit zuliebe.
-
Unterl welchem Link kann man sich eine Kopie des C++ standards runterladen?
-
Raptor schrieb:
Unterl welchem Link kann man sich eine Kopie des C++ standards runterladen?
Den Final Draft gibt's hier:
http://www.kuzbass.ru/docs/isocpp/Den C++ Standard kannst du hier für 18$ käuflich erwerben.
-
Der ist nicht frei? Is ja n Ding...
PRESENTATION NOTE: This presentation is not an official document and should not be used for citation purposes. This presentation is a translation of the original troff sources into HTML. The translation has several areas of weakness, including lists, fonts, tables, and arithmetic expressions. As a consequence, portions of this presentation may not reflect accurately the contents of the official document. This presentation is provided by Sun Microsystems, Inc. as a service to the standards community, and not as a commitment on the part of Sun or any organization.
Kann man "bedenkenlos" dieses Final Draft Document benutzen, oder sind die Ungenauigkeiten kritisch?
-
Yout got mail!
-
Raptor schrieb:
Der ist nicht frei? Is ja n Ding...
PRESENTATION NOTE: This presentation is not an official document and should not be used for citation purposes. This presentation is a translation of the original troff sources into HTML. The translation has several areas of weakness, including lists, fonts, tables, and arithmetic expressions. As a consequence, portions of this presentation may not reflect accurately the contents of the official document. This presentation is provided by Sun Microsystems, Inc. as a service to the standards community, and not as a commitment on the part of Sun or any organization.
Kann man "bedenkenlos" dieses Final Draft Document benutzen, oder sind die Ungenauigkeiten kritisch?
Du kannst ihn ruhig benutzen.
mfg
v R
-
Raptor schrieb:
Der ist nicht frei? Is ja n Ding...
Es ist frei. Nur seit wann ist frei gleichbedeutend mit kostenlos?
-
Verstehe
thx to FireFlow