Spaces:
Sleeping
Sleeping
Download crazy_functions/test_project/cpp/cppipc/policy.h from bingbing520/ChatImprovement: direct link, hf CLI and curl.
- Browser
- Download file 539 Bytes
-
https://huggingface.co/spaces/bingbing520/ChatImprovement/resolve/main/crazy_functions/test_project/cpp/cppipc/policy.h
- Command line
-
hf download hf://spaces/bingbing520/ChatImprovement/crazy_functions/test_project/cpp/cppipc/policy.h
-
curl -L -o policy.h https://huggingface.co/spaces/bingbing520/ChatImprovement/resolve/main/crazy_functions/test_project/cpp/cppipc/policy.h
539 Bytes
| namespace ipc { | |
| namespace policy { | |
| template <template <typename, std::size_t...> class Elems, typename Flag> | |
| struct choose; | |
| template <typename Flag> | |
| struct choose<circ::elem_array, Flag> { | |
| using flag_t = Flag; | |
| template <std::size_t DataSize, std::size_t AlignSize> | |
| using elems_t = circ::elem_array<ipc::prod_cons_impl<flag_t>, DataSize, AlignSize>; | |
| }; | |
| } // namespace policy | |
| } // namespace ipc | |