Skip to content

examples of backup policy where keys are greater than uint128_t #5

@rmanaloto-tastytrade

Description

@rmanaloto-tastytrade

in the FAQ it mentions a backup policy/customization point can be setup for the lookup implementation. Do you have examples of this. Your template metaprogramming skills are way above mine, so I'm not quite sure how to pull it off. Seems like I need a specialization on the find/lookup method?

And there's a section in the FAQ also regarding setting the probability and cache size alignment. Do you have examples for this also?

This is currently, an example where i need the workaround (I'm working on binary encoder/decoder for the CME exchanges binary protocol (simple binary encoding/iLink3)

https://godbolt.org/z/GxTeabvdx

we chatted previously regarding your reflect library
This is the second part of where i am going w my implementation. I am using the reflect library to get me the total number of enums. I will then pair that with another compile time map where I can override the to_string output based on different systems. I just hit this snag so I just isolated it down to where it is having compilation issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions