Content deleted Content added
DuncanHill (talk | contribs) Fixing harv/sfn errors. Please watchlist Category:Harv and Sfn no-target errors and install User:Trappist the monk/HarvErrors.js to help you spot such errors when reading and editing. |
→Examples: fixed weasel word |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 27:
== Examples ==
This [[C++
<syntaxhighlight lang="c++">
import std;
enum class ProductId {MINE, YOURS};
// defines the interface of objects the factory method creates.
Line 45 ⟶ 44:
public:
void print() {
std::
}
};
Line 53 ⟶ 52:
public:
void print() {
std::
}
};
|