Are *_is_valid checks necessary when using rcl

asked 2023-01-23 08:34:10 -0500

Deric gravatar image

Hi, since almost every type in rcl has a *_is_valid function to check if the instance is still valid (example of wait set) while most functions operating with instances have separate error codes for invalid arguments (example of wait set) I wonder if it is safe to pass a potential invalid instance to those functions instead of calling the corresponding *_is_valid function beforehand.

edit retag flag offensive close merge delete