|
|
@@ -642,6 +642,14 @@ public:
|
|
|
return storage;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @brief Returns the underlying meta context.
|
|
|
+ * @return The underlying meta context.
|
|
|
+ */
|
|
|
+ const meta_ctx &context() const noexcept {
|
|
|
+ return *ctx;
|
|
|
+ }
|
|
|
+
|
|
|
private:
|
|
|
any storage;
|
|
|
const meta_ctx *ctx{&locator<meta_ctx>::value_or()};
|
|
|
@@ -915,14 +923,6 @@ struct meta_data {
|
|
|
return {node.custom};
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @brief Returns the underlying meta context.
|
|
|
- * @return The underlying meta context.
|
|
|
- */
|
|
|
- const meta_ctx &context() const noexcept {
|
|
|
- return *ctx;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* @brief Returns true if an object is valid, false otherwise.
|
|
|
* @return True if the object is valid, false otherwise.
|
|
|
@@ -1044,11 +1044,6 @@ struct meta_func {
|
|
|
return {node.custom};
|
|
|
}
|
|
|
|
|
|
- /*! @copydoc meta_data::context */
|
|
|
- const meta_ctx &context() const noexcept {
|
|
|
- return *ctx;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* @brief Returns the next overload of a given function, if any.
|
|
|
* @return The next overload of the given function, if any.
|
|
|
@@ -1508,11 +1503,6 @@ public:
|
|
|
return {node.custom};
|
|
|
}
|
|
|
|
|
|
- /*! @copydoc meta_data::context */
|
|
|
- const meta_ctx &context() const noexcept {
|
|
|
- return *ctx;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* @brief Returns true if an object is valid, false otherwise.
|
|
|
* @return True if the object is valid, false otherwise.
|