summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'c++.html.markdown')
-rw-r--r--c++.html.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/c++.html.markdown b/c++.html.markdown
index b214de7a..d049408a 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -445,6 +445,7 @@ int main () {
// define a class or function that takes a type parameter:
template<class T>
class Box {
+public:
// In this class, T can be used as any other type.
void insert(const T&) { ... }
};