|
@ -29,11 +29,13 @@ |
|
|
#include <cstdint>
|
|
|
#include <cstdint>
|
|
|
#include <string>
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
|
|
using namespace boost::flyweights; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PolicyCache |
|
|
class PolicyCache |
|
|
{ |
|
|
{ |
|
|
public: |
|
|
public: |
|
|
typedef boost::flyweights::flyweight<std::string,boost::flyweights::no_tracking> fwstr; |
|
|
|
|
|
|
|
|
typedef flyweight<std::string,no_tracking> fwstr; |
|
|
typedef boost::concurrent_flat_map<uint64_t,std::string> Map; |
|
|
typedef boost::concurrent_flat_map<uint64_t,std::string> Map; |
|
|
|
|
|
|
|
|
fwstr foo; |
|
|
fwstr foo; |
|
|