libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::cache Namespace Reference

Namespaces

namespace  private_
 

Classes

class  base
 A base cache class, for deriving from to provide the real functionality. More...
 
class  basic_statistics
 Some basic statistic gathering. More...
 
struct  factory_base
 A simple factory class that allows us to tell the cache how a value is made for a particular key. More...
 
class  lru
 An implementation of an Least Recently Used (LRU) algorithm for selecting victim entries in the cache for flushing. More...
 
struct  no_statistics
 A trivial "no statistics" class. More...
 
class  ro
 A read-only cache that returns a const reference to the range data. More...
 
struct  threading
 Adaptors for the single & multi-threading traits. More...
 

Functions

template<class F_ , class P_ , class TT_ , class S_ >
tostream &__fastcall operator<< (tostream &os, const ro< F_, P_, TT_, S_ > &r)
 
tostreamoperator<< (tostream &os, const basic_statistics &stats)
 

Function Documentation

◆ operator<<() [1/2]

tostream& jmmcg::LIBJMMCG_VER_NAMESPACE::cache::operator<< ( tostream os,
const basic_statistics stats 
)
inline
Todo:
Implement using the advice given in "Standard C++ IOStreams and Locales" by A.Langer & K.Kreft, page 170.

Definition at line 110 of file cache_impl.hpp.

◆ operator<<() [2/2]

template<class F_ , class P_ , class TT_ , class S_ >
tostream& __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::cache::operator<< ( tostream os,
const ro< F_, P_, TT_, S_ > &  r 
)
Todo:
Implement using the advice given in "Standard C++ IOStreams and Locales" by A.Langer & K.Kreft, page 170.

Definition at line 511 of file cache.hpp.