Commit 196ae5f6 authored by Dominik Charousset's avatar Dominik Charousset

Remove dead code and simplify `uti_impl`

parent 90dc64c7
...@@ -45,24 +45,8 @@ class uniform_type_info; ...@@ -45,24 +45,8 @@ class uniform_type_info;
namespace caf { namespace caf {
namespace detail { namespace detail {
// lookup table for integer types
extern const char* mapped_int_names[][2];
template <class T>
constexpr const char* mapped_int_name() {
return mapped_int_names[sizeof(T)][std::is_signed<T>::value ? 1 : 0];
}
class uniform_type_info_map_helper;
// note: this class is implemented in uniform_type_info.cpp
class uniform_type_info_map { class uniform_type_info_map {
friend class uniform_type_info_map_helper;
friend class singleton_mixin<uniform_type_info_map>;
public: public:
using pointer = const uniform_type_info*; using pointer = const uniform_type_info*;
virtual ~uniform_type_info_map(); virtual ~uniform_type_info_map();
...@@ -79,12 +63,11 @@ public: ...@@ -79,12 +63,11 @@ public:
static uniform_type_info_map* create_singleton(); static uniform_type_info_map* create_singleton();
inline void dispose() { delete this; } void dispose();
void stop(); void stop();
virtual void initialize() = 0; virtual void initialize() = 0;
}; };
} // namespace detail } // namespace detail
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment