Skip to content

Commit 869b764

Browse files
authored
PEP 695: Fix template definition in C++ example (#4485)
PEP 695: Fix typo in C++ example
1 parent 27439b5 commit 869b764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0695.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ A default type argument can be specified using the ``=`` operator.
12011201
.. code-block:: c++
12021202

12031203
// Generic class
1204-
template <typename>
1204+
template <typename T>
12051205
class ClassA
12061206
{
12071207
// Constraints are supported through compile-time assertions.

0 commit comments

Comments
 (0)