This commit is contained in:
Michele Caini
2019-02-19 14:43:45 +01:00
parent 328f0c6da8
commit ad5cedc08c
7 changed files with 0 additions and 117 deletions

View File

@@ -19,8 +19,6 @@ namespace internal {
struct null {
explicit constexpr null() = default;
template<typename Entity>
constexpr operator Entity() const ENTT_NOEXCEPT {
using traits_type = entt_traits<Entity>;

View File

@@ -109,16 +109,6 @@ public:
/*! @brief Input iterator type. */
using iterator_type = typename sparse_set<Entity>::iterator_type;
/*! @brief Default copy constructor. */
group(const group &) = default;
/*! @brief Default move constructor. */
group(group &&) = default;
/*! @brief Default copy assignment operator. @return This group. */
group & operator=(const group &) = default;
/*! @brief Default move assignment operator. @return This group. */
group & operator=(group &&) = default;
/**
* @brief Returns the number of entities that have the given components.
* @return Number of entities that have the given components.
@@ -374,16 +364,6 @@ public:
/*! @brief Input iterator type. */
using iterator_type = typename sparse_set<Entity>::iterator_type;
/*! @brief Default copy constructor. */
group(const group &) = default;
/*! @brief Default move constructor. */
group(group &&) = default;
/*! @brief Default copy assignment operator. @return This group. */
group & operator=(const group &) = default;
/*! @brief Default move assignment operator. @return This group. */
group & operator=(group &&) = default;
/**
* @brief Returns the number of entities that have the given components.
* @return Number of entities that have the given components.

View File

@@ -80,12 +80,6 @@ class sparse_set<Entity> {
iterator() ENTT_NOEXCEPT = default;
iterator(const iterator &) ENTT_NOEXCEPT = default;
iterator(iterator &&) ENTT_NOEXCEPT = default;
iterator & operator=(const iterator &) ENTT_NOEXCEPT = default;
iterator & operator=(iterator &&) ENTT_NOEXCEPT = default;
iterator & operator++() ENTT_NOEXCEPT {
return --index, *this;
}
@@ -533,12 +527,6 @@ class sparse_set<Entity, Type>: public sparse_set<Entity> {
iterator() ENTT_NOEXCEPT = default;
iterator(const iterator &) ENTT_NOEXCEPT = default;
iterator(iterator &&) ENTT_NOEXCEPT = default;
iterator & operator=(const iterator &) ENTT_NOEXCEPT = default;
iterator & operator=(iterator &&) ENTT_NOEXCEPT = default;
iterator & operator++() ENTT_NOEXCEPT {
return --index, *this;
}
@@ -641,12 +629,6 @@ class sparse_set<Entity, Type>: public sparse_set<Entity> {
iterator() ENTT_NOEXCEPT = default;
iterator(const iterator &) ENTT_NOEXCEPT = default;
iterator(iterator &&) ENTT_NOEXCEPT = default;
iterator & operator=(const iterator &) ENTT_NOEXCEPT = default;
iterator & operator=(iterator &&) ENTT_NOEXCEPT = default;
iterator & operator++() ENTT_NOEXCEPT {
return --index, *this;
}

View File

@@ -118,9 +118,6 @@ class view {
iterator() ENTT_NOEXCEPT = default;
iterator(const iterator &) ENTT_NOEXCEPT = default;
iterator & operator=(const iterator &) ENTT_NOEXCEPT = default;
iterator & operator++() ENTT_NOEXCEPT {
return (++begin != end && !valid()) ? ++(*this) : *this;
}
@@ -225,16 +222,6 @@ public:
/*! @brief Input iterator type. */
using iterator_type = iterator;
/*! @brief Default copy constructor. */
view(const view &) = default;
/*! @brief Default move constructor. */
view(view &&) = default;
/*! @brief Default copy assignment operator. @return This view. */
view & operator=(const view &) = default;
/*! @brief Default move assignment operator. @return This view. */
view & operator=(view &&) = default;
/**
* @brief Estimates the number of entities that have the given components.
* @return Estimated number of entities that have the given components.
@@ -424,16 +411,6 @@ public:
/*! @brief Input iterator type. */
using iterator_type = typename sparse_set<Entity>::iterator_type;
/*! @brief Default copy constructor. */
view(const view &) = default;
/*! @brief Default move constructor. */
view(view &&) = default;
/*! @brief Default copy assignment operator. @return This view. */
view & operator=(const view &) = default;
/*! @brief Default move assignment operator. @return This view. */
view & operator=(view &&) = default;
/**
* @brief Returns the number of entities that have the given component.
* @return Number of entities that have the given component.
@@ -685,9 +662,6 @@ class runtime_view {
iterator() ENTT_NOEXCEPT = default;
iterator(const iterator &) ENTT_NOEXCEPT = default;
iterator & operator=(const iterator &) ENTT_NOEXCEPT = default;
iterator & operator++() ENTT_NOEXCEPT {
return (++begin != end && !valid()) ? ++(*this) : *this;
}
@@ -758,16 +732,6 @@ public:
/*! @brief Input iterator type. */
using iterator_type = iterator;
/*! @brief Default copy constructor. */
runtime_view(const runtime_view &) = default;
/*! @brief Default move constructor. */
runtime_view(runtime_view &&) = default;
/*! @brief Default copy assignment operator. @return This view. */
runtime_view & operator=(const runtime_view &) = default;
/*! @brief Default move assignment operator. @return This view. */
runtime_view & operator=(runtime_view &&) = default;
/**
* @brief Estimates the number of entities that have the given components.
* @return Estimated number of entities that have the given components.

View File

@@ -658,18 +658,6 @@ public:
/*! @brief Default destructor. */
~meta_handle() ENTT_NOEXCEPT = default;
/*! @brief Default copy constructor. */
meta_handle(const meta_handle &) ENTT_NOEXCEPT = default;
/*! @brief Default move constructor. */
meta_handle(meta_handle &&) ENTT_NOEXCEPT = default;
/*! @brief Default copy assignment operator. @return This handle. */
meta_handle & operator=(const meta_handle &) ENTT_NOEXCEPT = default;
/*! @brief Default move assignment operator. @return This handle. */
meta_handle & operator=(meta_handle &&) ENTT_NOEXCEPT = default;
/**
* @brief Returns the meta type of the underlying object.
* @return The meta type of the underlying object, if any.

View File

@@ -37,18 +37,6 @@ class resource_handle {
{}
public:
/*! @brief Default constructor. */
resource_handle() ENTT_NOEXCEPT = default;
/*! @brief Default copy constructor. */
resource_handle(const resource_handle &) ENTT_NOEXCEPT = default;
/*! @brief Default move constructor. */
resource_handle(resource_handle &&) ENTT_NOEXCEPT = default;
/*! @brief Default copy assignment operator. @return This handle. */
resource_handle & operator=(const resource_handle &) ENTT_NOEXCEPT = default;
/*! @brief Default move assignment operator. @return This handle. */
resource_handle & operator=(resource_handle &&) ENTT_NOEXCEPT = default;
/**
* @brief Gets a reference to the managed resource.
*

View File

@@ -159,23 +159,6 @@ public:
connection(typename event_handler<Event>::connection_type conn)
: event_handler<Event>::connection_type{std::move(conn)}
{}
/*! @brief Default copy constructor. */
connection(const connection &) = default;
/*! @brief Default move constructor. */
connection(connection &&) = default;
/**
* @brief Default copy assignment operator.
* @return This connection.
*/
connection & operator=(const connection &) = default;
/**
* @brief Default move assignment operator.
* @return This connection.
*/
connection & operator=(connection &&) = default;
};
/*! @brief Default constructor. */