UCommon
mapref.h File Reference

Maps of thread-safe strongly typed heap objects. More...

#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/object.h>
#include <ucommon/typeref.h>
#include <ucommon/linked.h>
#include <ucommon/thread.h>
Include dependency graph for mapref.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.
 

Functions

template<typename T >
size_t ucommon::mapkeypath (typeref< T > &object)
 
template<>
size_t ucommon::mapkeypath< const char * > (typeref< const char * > &object)
 
template<>
size_t ucommon::mapkeypath< const uint8_t * > (typeref< const uint8_t * > &object)
 

Detailed Description

Maps of thread-safe strongly typed heap objects.

This is used for maps of smart pointers to immutable heap instances of object types. Shared and exclusive locking is used based on lookup or modify operations.

Definition in file mapref.h.