diff options
author | Jacques Lucke <jacques@blender.org> | 2021-06-10 13:59:21 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-06-10 14:05:57 +0300 |
commit | e4ef8cbf7e4f270dc6027fb9261de5678bbe1c2d (patch) | |
tree | 0921d4c78f7944cdd79adb8608bde35fc8895cb1 /source | |
parent | 5fa6cdb77a9860ce673f685fd29e11b1c3ee8ad8 (diff) |
Cleanup: add comment
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/functions/FN_cpp_type.hh | 5 |
1 files changed, 5 insertions, 0 deletions
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(); /** |