Skip to content

Commit

Permalink
doc: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Nov 17, 2023
1 parent e04f2bd commit 7fecbf7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/entt/meta/factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class meta_factory {
/**
* @brief Assigns a custom unique identifier to a meta type.
* @param id A custom unique identifier.
* @return An extended meta factory for the given type.
* @return A meta factory for the given type.
*/
auto type(const id_type id) noexcept {
auto &&elem = internal::owner(*ctx, *info);
Expand Down Expand Up @@ -192,7 +192,7 @@ class meta_factory {
*
* @tparam Candidate The actual function to use as a constructor.
* @tparam Policy Optional policy (no policy set by default).
* @return An extended meta factory for the parent type.
* @return A meta factory for the parent type.
*/
template<auto Candidate, typename Policy = as_is_t>
auto ctor() noexcept {
Expand All @@ -212,7 +212,7 @@ class meta_factory {
* type that can be invoked with parameters whose types are those given.
*
* @tparam Args Types of arguments to use to construct an instance.
* @return An extended meta factory for the parent type.
* @return A meta factory for the parent type.
*/
template<typename... Args>
auto ctor() noexcept {
Expand Down Expand Up @@ -264,7 +264,7 @@ class meta_factory {
* @tparam Data The actual variable to attach to the meta type.
* @tparam Policy Optional policy (no policy set by default).
* @param id Unique identifier.
* @return An extended meta factory for the parent type.
* @return A meta factory for the parent type.
*/
template<auto Data, typename Policy = as_is_t>
auto data(const id_type id) noexcept {
Expand Down Expand Up @@ -329,7 +329,7 @@ class meta_factory {
* @tparam Getter The actual function to use as a getter.
* @tparam Policy Optional policy (no policy set by default).
* @param id Unique identifier.
* @return An extended meta factory for the parent type.
* @return A meta factory for the parent type.
*/
template<auto Setter, auto Getter, typename Policy = as_is_t>
auto data(const id_type id) noexcept {
Expand Down Expand Up @@ -386,7 +386,7 @@ class meta_factory {
* @tparam Getter The actual getter function.
* @tparam Policy Optional policy (no policy set by default).
* @param id Unique identifier.
* @return An extended meta factory for the parent type.
* @return A meta factory for the parent type.
*/
template<typename Setter, auto Getter, typename Policy = as_is_t>
auto data(const id_type id) noexcept {
Expand All @@ -405,7 +405,7 @@ class meta_factory {
* @tparam Candidate The actual function to attach to the meta type.
* @tparam Policy Optional policy (no policy set by default).
* @param id Unique identifier.
* @return An extended meta factory for the parent type.
* @return A meta factory for the parent type.
*/
template<auto Candidate, typename Policy = as_is_t>
auto func(const id_type id) noexcept {
Expand Down Expand Up @@ -434,7 +434,7 @@ class meta_factory {
* @tparam Value Optional type of the property value.
* @param id Property key.
* @param value Optional property value.
* @return An extended meta factory for the given type.
* @return A meta factory for the parent type.
*/
template<typename... Value>
meta_factory prop(id_type id, [[maybe_unused]] Value &&...value) {
Expand Down

0 comments on commit 7fecbf7

Please sign in to comment.