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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy