doc: minor changes

This commit is contained in:
Michele Caini
2023-07-27 16:13:36 +02:00
parent 9344798fa1
commit 966efd2397

View File

@@ -1322,6 +1322,7 @@ public:
/**
* @brief Checks if a type supports direct casting to another type.
* @param other The meta type to test for.
* @return True if direct casting is allowed, false otherwise.
*/
[[nodiscard]] bool can_cast(const meta_type &other) const noexcept {
@@ -1331,6 +1332,7 @@ public:
/**
* @brief Checks if a type supports conversion it to another type.
* @param other The meta type to test for.
* @return True if the conversion is allowed, false otherwise.
*/
[[nodiscard]] bool can_convert(const meta_type &other) const noexcept {