[Bf-blender-cvs] [e4ef8cbf7e4] master: Cleanup: add comment
Jacques Lucke
noreply at git.blender.org
Thu Jun 10 13:07:10 CEST 2021
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();
/**
More information about the Bf-blender-cvs
mailing list