Add static constexpr members to naming style guide
authorAndrey Alekseenko <al42and@gmail.com>
Wed, 14 Oct 2020 16:06:25 +0000 (16:06 +0000)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 14 Oct 2020 16:06:25 +0000 (16:06 +0000)
Resolves #3733.

docs/dev-manual/naming.rst

index 37640b5017171cf1911ab5ee01af6db3c8167450..e0fb2d6deca5152730de3abe9d6b0f8b6c1b0ed3 100644 (file)
@@ -90,6 +90,7 @@ C++ code
 * Accessors for a variable ``foo_`` are named ``foo()`` and ``setFoo()``.
 * Global variables are named with a ``g_`` prefix.
 * Static class variables are named with a ``s_`` prefix.
+* Static ``constexpr`` class members are named with a ``sc_`` prefix.
 * Global constants are often named with a ``c_`` prefix.
 * If the main responsibility of a file is to implement a particular class,
   then the name of the file should match that class, except for possible