Commit: e4ef8cbf7e4f270dc6027fb9261de5678bbe1c2d
Author: Jacques Lucke
Date:   Thu Jun 10 12:59:21 2021 +0200
Branches: master
https://developer.blender.org/rBe4ef8cbf7e4f270dc6027fb9261de5678bbe1c2d

Cleanup: add comment

===================================================================

M       source/blender/functions/FN_cpp_type.hh

===================================================================

diff --git a/source/blender/functions/FN_cpp_type.hh 
b/source/blender/functions/FN_cpp_type.hh
index cd1597a742c..14eab2704e9 100644
--- a/source/blender/functions/FN_cpp_type.hh
+++ b/source/blender/functions/FN_cpp_type.hh
@@ -260,6 +260,11 @@ class CPPType : NonCopyable, NonMovable {
     return !(&a == &b);
   }
 
+  /**
+   * Get the `CPPType` that corresponds to a specific static type.
+   * This only works for types that actually implement the template 
specialization using
+   * `MAKE_CPP_TYPE`.
+   */
   template<typename T> static const CPPType &get();
 
   /**

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to