#include <chrono>
#include <cstdint>
#include <ctime>
#include <exception>
#include <iostream>
#include <list>
#include <map>
#include <mutex>
#include <queue>
#include <string>
#include <type_traits>
#include <typeindex>
#include <utility>
#include <vector>
#include <derecho/tcp/tcp.hpp>
#include "derecho_exception.hpp"
#include "detail/derecho_internal.hpp"
#include "detail/persistence_manager.hpp"
#include "detail/rpc_manager.hpp"
#include "detail/view_manager.hpp"
#include "replicated.hpp"
#include "subgroup_info.hpp"
#include <derecho/conf/conf.hpp>
#include <mutils-containers/KindMap.hpp>
#include <mutils-containers/TypeMap2.hpp>
#include "detail/group_impl.hpp"
Go to the source code of this file.
|
template<typename TargetType , typename... TypePack> |
using | derecho::contains = std::integral_constant< bool,(std::is_same< TargetType, TypePack >::value||...)> |
| A type-trait-like template that provides a True member "value" if TargetType matches some type in TypePack (according to std::is_same), or provides a False member "value" if TargetType does not match anything in TypePack. More...
|
|
template<typename T > |
using | derecho::replicated_index_map = std::map< uint32_t, Replicated< T > > |
|
|
template<uint32_t counter, typename TargetType , typename FirstType , typename... RestTypes> |
constexpr uint32_t | derecho::index_of_type_impl () |
| The function that implements index_of_type, which is separate to hide the "counter" template parameter (an implementation detail only used to maintain state across recursive calls). More...
|
|
|
template<typename TargetType , typename... TypePack> |
constexpr uint32_t | derecho::index_of_type = index_of_type_impl<0, TargetType, TypePack...>() |
| A compile-time "function" that computes the index of a type within a template parameter pack of types. More...
|
|