updated doc

This commit is contained in:
Michele Caini
2019-09-26 23:03:44 +02:00
parent 9555385325
commit 47ab73d9a4

View File

@@ -450,9 +450,8 @@ public:
* want to iterate entities and components in the expected order.
*
* @note
* Empty components aren't explicitly instantiated. Only one instance of the
* given type is created. Therefore, this function always returns a pointer
* to that instance.
* Empty components aren't explicitly instantiated. Therefore, this function
* isn't available for them. A compilation error will occur if invoked.
*
* @tparam Component Type of component in which one is interested.
* @return A pointer to the array of components of the given type.