cpp:class_templates
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cpp:class_templates [2019/05/04 04:46] – [Ένα πιο σύνθετο παράδειγμα] gthanos | cpp:class_templates [2019/05/14 10:08] – [Templates κλάσεων] gthanos | ||
---|---|---|---|
Line 4: | Line 4: | ||
<code cpp Box.hpp> | <code cpp Box.hpp> | ||
+ | #ifndef _BOX_HPP_ | ||
+ | #define _BOX_HPP_ | ||
+ | |||
template < | template < | ||
class Box { | class Box { | ||
Line 31: | Line 34: | ||
return out; | return out; | ||
} | } | ||
+ | #endif | ||
</ | </ | ||
cpp/class_templates.txt · Last modified: 2020/05/25 06:52 (external edit)