Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] [Serialization ofstlmapwithpointer to POD type]
From: Denis Gabaidulin (gabaden_at_[hidden])
Date: 2008-12-31 17:38:47


> so why store the key?
>
> eg
>
> const char * keytable[] {
> "key1", // store keys at compile time in order
> "key2",
> ...
> }

I have no data in compile time.
Data storage fill at runtime.

Some keys could be inserted or deleted, *values* could be
updated(increment/decrement/set), but there is no way one can any key
could be changed, therefore key is immutable.

Its very similar to memcached daemon.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net