no more anonymous namespaces

This commit is contained in:
Michele Caini
2018-04-10 09:00:15 +02:00
parent e9da2ce12a
commit 089b3e13fd
3 changed files with 26 additions and 3 deletions

1
TODO
View File

@@ -5,7 +5,6 @@
* define a macro for the noexcept policy, so as to provide users with an easy way to disable exception handling
* define basic reactive systems (track entities to which component is attached, track entities from which component is removed, and so on)
* ease the assignment of tags as string (use a template class with a non-type template parameter behind the scene)
* turn anonymous namespaces in details:: so as to avoid issues related to internal vs external linkage
* dictionary based dependency class (templates copied over) + prefabs (shared state/copy-on-write)
* remove Actor::update (it's application dependent), allow tag instead
* "singleton mode" for tags (see #66)

View File

@@ -10,7 +10,13 @@
namespace entt {
namespace {
namespace internal {
/**
* @cond TURN_OFF_DOXYGEN
* Internal details not to be documented.
*/
template<typename... Types>
@@ -47,6 +53,12 @@ private:
};
/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
*/
}

View File

@@ -10,7 +10,13 @@
namespace entt {
namespace {
namespace internal {
/**
* @cond TURN_OFF_DOXYGEN
* Internal details not to be documented.
*/
template<typename, typename>
@@ -71,6 +77,12 @@ template<typename Function>
using DefaultCollectorType = typename DefaultCollector<Function>::collector_type;
/**
* Internal details not to be documented.
* @endcond TURN_OFF_DOXYGEN
*/
}